Avatar of GST-GRIDTECH
GST-GRIDTECH
Flag for United States of America asked on

PDF CONVERTER TO JPEG

Hi, i was wondering if anyone knew of a very good,

PDF CONVERTER TO JPEG.

must be install able, NOT on-Line.

HIGH QUALITY,  I've seen suggestions, that some do POOR QUALITY conversions.

FREE OK, BUT DON'T MIND PAYING, FOR THE QUALITY, FEATURES AND FLEXIBILITY.

WINDOWS OR UNBUNTU....

OR IF ADOBE HAS THAT SOFTWARE/FEATURE..

I DO HAVE MY PRINTER/SCANNER. BUT THAT'S SOME PRINTING, THEN SCANNING TO DO.
WOULD BE EASIER TO JUST GO PDF TO JPEG...
 
just seeing whats outthere
Document Imaging

Avatar of undefined
Last Comment
GST-GRIDTECH

8/22/2022 - Mon
John

Have you looked at / tried this product:

http://www.softinterface.com/Convert-PDF-To-Image/Convert-PDF-To-Tiff.htm?gclid=COfFxOi1ps4CFYGHaQod0McI_A

Most are online. The above is downloadable (so I assume local).

There is no native capability in my Adobe Acrobat DC to create JPG files.
Justin Smith

I have GIMP. It's a program very similar to Photoshop, but it's free and I've been using it forever. I actually think it's better than Photoshop and MUCH easier to use. Go here and download directly:

https://www.gimp.org/downloads/

Once you have your PDF File, Go to Gimp, click File>Open. Find your PDF and Click Import when the window comes up. When all the PDF's are Imported, go up to File>Export As. A window will come up and ask you where you want to save the file and what type. Click on the Drop Down menu at the bottom and choose .JPEG. Name your file at the top, and make sure you change the file extension to .Jpeg at the end instead of .PDF. It works perfectly and is very simple to do. Let me know if you need further help!
Joe Winograd

GraphicsMagick is an extraordinary piece of free software that can do it (GM is a fork of ImageMagick, which can also do it). This EE article explains how to download GM and discusses the various editions:
Reduce the file size of many JPG files in many folders via an automated, mass, batch compression method

This EE article specifically discusses PDF to JPG:
Create an image (BMP, GIF, JPG, PNG, TIF, etc.) from a multi-page PDF

That may not be the exact PDF to JPG conversion that you're looking for, but with the many options of the product, I'm confident you'll be able to achieve whatever PDF to JPG conversion you want, and with high quality. Regards, Joe
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
GST-GRIDTECH

ASKER
Hi Justin

I've installed GImp on my unbuntu laptop.

I've imported a 5 page PDF.
How do I export ALL 5 pages in one Jpeg,
When I export to JPEG, I only get the first of the 5
Pages but need all 5 pages
GST-GRIDTECH

ASKER
Hi Joe
I'm also trying to install
GraphicsMagic on my Windows PC
So I'll see how that goes as well
Joe Winograd

Sounds good. Will be happy to help if you run into problems, but I don't think you will. GraphicsMagick is usually an easy, clean installation. Cheers, Joe
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
GST-GRIDTECH

ASKER
I'm having issues installing GraphicsMagic on both my windows and unbuntu PC's.  Both seem overly complicated to the point  of frustration.
GST-GRIDTECH

ASKER
Hi joe
Are you more familiar with the Windows or unbuntu GraphicsMagic?

For the Windows, I was missing Ghost Script
For unbuntu, it downloaded but nothing to run
Joe Winograd

I know very little about Ubuntu. The downloads for the Windows binaries are here:
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/windows/

You may as well get the latest version, 1.3.24 (my article mentions 1.3.21, which was the latest at the time). The Q8 version is very likely sufficient for you, so download one of these, depending on your Windows bit level:

GraphicsMagick-1.3.24-Q8-win32-dll.exe
GraphicsMagick-1.3.24-Q8-win64-dll.exe

I would have expected it to install Ghostscript automatically (it needs that for PDF files), but I've always had it on my system, so I don't really know if the installer does that. If not, download it from here:
http://ghostscript.com/download/gsdnld.html

Use the GNU Affero GPL one, being careful to select the right bit level for your Windows. After a standard install of Ghostscript, GraphicsMagick will find it. Regards, Joe
Your help has saved me hundreds of hours of internet surfing.
fblack61
GST-GRIDTECH

ASKER
HI John Hurst,

I also tried Softinterface, Inc, 'Convert PDF To Image',
it is $400  and $529 with 1 year subscription.
the trail version I have, doesn't seem to give me the option of converting a multi page PDF to a single jpeg.
it splits them up and i need the option to have it into one jpeg

I may have to do this if i cant get
GraphicsMagick  (Win-Vista)- or
GIMP (Unbuntu )
to work,,,,,,,,,
GST-GRIDTECH

ASKER
my hp office jet pro6830, can scan to JPEG, BUT I WOULD HAVE TO PRINT EACH PDF, THEN SCAN THEM.
WHICH I WOUNDNT MIND DOING TO SAVE THE $400/$529 BUCK.
BUT IT ALSO, SPLITS EACH PAGE TO A SINGLE JPEG AND I NEED THE OPTION OF HAVING IT TO ONE JPEG
John

Thanks for the update. I knew Softinterface was not cheap. I do not know anything that can "see" 5 pages of PDF graphic and convert to 1 JPG.  

The "Combine" feature and "Delete Page" feature of Adobe means it is very page oriented.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
GST-GRIDTECH

ASKER
Joe Winograd,

I WILL TRY
GraphicsMagick-1.3.24-Q8-win32-dll.exe
GraphicsMagick-1.3.24-Q8-win64-dll.exe

AS SOON I  GET BACK HOME FROM WORK..
GST-GRIDTECH

ASKER
HI Justin Smith,

IF YOU ARE FAMILIAR WITH GIMP ENOUGH TO LET ME KNOW HOW
I MIGHT BE ABLE TO EXPORT THE 5 IMPORTED PDF PAGES TO ONE
EXPORTED JPEG, THAT WOULD BE MY SOLUTION.

SEEMS TO HAVE SOMETHING TO DO WITH PERHAPS, HAVING EACH PAGE
ON THE SAME LAYER MAYBE...??
Joe Winograd

You need just one of those. If your Windows is 32-bit, use:
GraphicsMagick-1.3.24-Q8-win32-dll.exe

If your Windows is 64-bit, use:
GraphicsMagick-1.3.24-Q8-win64-dll.exe

If you'd like an idea besides GraphicsMagick, there's a really simple tool in the Xpdf utilities called PDFtoPNG. You may learn where/how to download the utilities in this EE 5-minute video Micro Tutorial:
Xpdf - Command Line Utility for PDF Files

It is a set of nine command line utilities. There's no installation needed — simply run the executables (the EXE files). An example of how to use one of the tools (pdftotext.exe) is in this EE 5-minute video Micro Tutorial:
Xpdf - Convert PDF Files to Plain Text Files

I've done videos for several of the tools, but not the one you need, which is pdftopng.exe (doing a video for that is on my to-do list). The call for it is very simple, like this:

pdftopng input.pdf rootimage

There are other options, such as -r for resolution (e.g., -r 200 for 200 DPI), but the simple call above will create one PNG for each page of the PDF and automatically assign an integer suffix to each file name, such as these for a 5-page PDF:

rootimage-000001.png
rootimage-000002.png
rootimage-000003.png
rootimage-000004.png
rootimage-000005.png

If you're happy with PNG files, you're done. If you want JPG files, there are a gazillion products that can convert from PNG to JPG, even the simple Paint applet built into Windows. Btw, if you prefer Ubuntu, you'll see at the Xpdf download page that there are pre-compiled binaries for Linux. Regards, Joe
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
GST-GRIDTECH

ASKER
Hi
Joe Winograd I will try to use
GraphicsMagick-1.3.24-Q8-win32-dll.exe
When I get back home from work

And thank you for all of the detailed, expert advise.

Can you confirm if GraphisMagick has the option to convert a multi page PDF into a single jpg.
One problem I've had is most of the solutions that I was able to get to work
(GIMP, the software from Softinterface and my HP printer for example)

take each page of the PDF and produce individual jpeg images. And I can do that with my printer.

I need the option of multiple page PDF to one jpg file/image..
Thank you very much
Joe Winograd

> Can you confirm if GraphisMagick has the option to convert a multi page PDF into a single jpg.

Confirmed! That's exactly what I discuss in this EE article:
Create an image (BMP, GIF, JPG, PNG, TIF, etc.) from a multi-page PDF

You can specify the number of columns and rows in the resulting, single JPG (the -tiles option); you can specify the size of each image in the resulting, single JPG (-geometry); and there are many other options (-background, -borderwidth, -frame, -mattecolor, -shadow, and lots more). The quality of the resulting image when converting from PDF is usually very bad with the default settings, because the -density option defaults to 72 DPI. You'll probably want that at 150 or 200. Regards, Joe
GST-GRIDTECH

ASKER
Ok.

Thank you Joe...
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
GST-GRIDTECH

ASKER
hi joe,

when i

C:\Users\....>gm convert logo: logo.jpg

C:\Users\.....>gm convert logo.jpg win:

i get the logo, but when i try run.

i get
gm-error.jpg
GST-GRIDTECH

ASKER
application log

Activation context generation failed for "C:\Program Files\GraphicsMagick-1.3.24-Q8\gmdisplay.exe". Dependent Assembly Microsoft.VC90.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis
GST-GRIDTECH

ASKER
re-installed below, seems to be working now
Microsoft Visual C++ 2008 Redistributable Package (x86)
Microsoft Visual C++ 2010 Redistributable Package (x86)

will see if it can do the pdf conversions the way i need.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Joe Winograd

Sounds good.

Start with a simple test, like this:

gm.exe montage -tile 2x10000 -geometry 100% -density 200 input.pdf output.jpg

Open in new window

That will create a single JPG with two columns and as many rows as needed to include all the pages of the PDF. The -geometry and -density params should make the quality of the output pretty good. There will be nothing fancy — no background, border, shadow, etc. Save that for later after you get the basic conversion working to your satisfaction (as shown in the last image of my article, if you want it fancy like that).
GST-GRIDTECH

ASKER
Hi Joe Winograd,

After everything, i ran:

gm.exe montage -tile 1x5 "C:\hold\jbell\(08-01-2016).pdf"  "C:\hold\jbell\output-test.jpg"

and it does convert the 5 page PDF into a jpg file.
However, the file is only 10kb, its really tiny and very, very poor quality.

Please let me know what im doing wrong...
GST-GRIDTECH

ASKER
adding

-geometry 100% -density 200
to next test
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Joe Winograd

> -geometry 100% -density 200

That's the ticket! You'll be very pleased. Put those params before the input file param.
GST-GRIDTECH

ASKER
Hi Joe,

Thank You,

Very close to solving this issue.
one small problem remains
the file is now1.2mb, which is, of course, ok.

However, when i drop the resulting jpg into ie or chrome, its really tiny, unless i click on it.

if i drop this on a website, will viewers, need to click to make it readable,?
How do i ensure, if i load these jpg's on a website, they will be the size, i need????

but thank you so much....
Joe Winograd

I don't know much about website dev, but I suggest increasing the -geometry param in 10 or 20 percent increments until you get to something you like. It will increase the horiz and vert pixels and, of course, increase the file size. When you get to 200%, your 1.2MB file will probably be in the 6MB range.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
GST-GRIDTECH

ASKER
results not good

-geometry 130%

-geometry 1024x768!

and versions of , still same, to small to see...
results.jpg
Joe Winograd

There's only so much that you can put in a certain amount of screen real estate and still have it be readable without zooming. Why do you want it in a single JPG? Why not leave it as a multi-page PDF that the user can scroll through with a PDF reader/viewer? Or if you don't want to have to deal with PDF on the web, why not convert it to multiple image files, with each page of the PDF becoming a separate image file that the user can scroll through with a picture viewer (most website dev tools have a gallery/photo viewer)? If you go the latter route, you can use GraphicsMagick to do the conversion or Xpdf's PDFtoPNG tool. Here's a 5-minute EE video Micro Tutorial on the latter:
Xpdf - PDFtoPNG - Command Line Utility to Convert a Multi-page PDF File into Separate PNG Files

Regards, Joe

P.S. I just noticed that the results.jpg file that you posted is only 26KB. I would expect a 1MB file to become around 2MB at -density 200 and -geometry 130% — something's not right.
GST-GRIDTECH

ASKER
Hi Joe,

Thank you very much for all of your input and attention to this,
i cant tell you how much a appreciate and really need it

since i cant get, the single jpg file to work, the way i think it should work.

Can you let me know what the command line should be, that would take
a multi page pdf and break it up into, individual, but high resolution jpg's
that wouldn't have to be zoomed in/out to be seen.???
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Joe Winograd

The command to convert a multi-page PDF file into separate image files is explained in my EE article:
Convert a multi-page PDF file into multiple image files

I can't tell you exactly what values on which options will be needed in order to create JPGs that won't have to be zoomed when placed on the web, so you'll have to experiment. But as the article shows, use this command as a starting point:

gm.exe convert input.pdf +adjoin output%02d.jpg

First thing I would try is increasing the density from its 72 DPI default to 200:

gm.exe convert -density 200 input.pdf +adjoin output%02d.jpg

As I mentioned above, if you're OK with PNGs instead of JPGs, watch this 5-minute EE video Micro Tutorial:
Xpdf - PDFtoPNG - Command Line Utility to Convert a Multi-page PDF File into Separate PNG Files

Regards, Joe
ASKER CERTIFIED SOLUTION
GST-GRIDTECH

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Joe Winograd

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
GST-GRIDTECH

ASKER
Thank you