Link to home
Start Free TrialLog in
Avatar of Abraham Deutsch
Abraham Deutsch

asked on

PDF to JPG

Is there anyone aware of a way to convert PDF to JPG. (download not online)
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Hi Abraham,
Lots of software can do this, including GIMP, IrfanView (with the Plugins), ImageMagick, GraphicsMagick (all of them are download, not online), and more. For the latter, this EE article should help:

Create an image (BMP, GIF, JPG, PNG, TIF, etc.) from a multi-page PDF
https://www.experts-exchange.com/articles/19039/

If you don't have multiple pages in the PDF, then you don't need montage, and a simple convert will do it, as follows:

gm.exe convert Input.pdf Output.jpg

There are, of course, a gazillion options with GraphicsMagick that you may want to experiment with, such as those discussed in this other EE article:

Create a PDF file with Contact Sheets (montage of thumbnails) for all JPG files in a folder and each of its subfolders using an automated, batch method
https://www.experts-exchange.com/articles/18414/

Let me know if you have any problems and I'll try to help you through it. Regards, Joe
If it's a single page you can use the Windows Snipping Tool to grab a screenshot, then save to JPG.
> If it's a single page you can use the Windows Snipping Tool to grab a screenshot, then save to JPG.

Yes, but keep in mind that with any screen capture method (Snipping Tool, PrintScreen, Alt-PrintScreen, GreenShot, Snagit, etc.), you're capturing the screen resolution. With a program like GraphicsMagick, you have control over the resolution. For example, I converted this question to a PDF and saved just the last page. I then did a screen capture of it (on a 1920x1200 monitor) and saved it as a JPG (came out as 926x1198). I then converted the PDF to JPG with GraphicsMagick using -density 400 (came out as 3400x4400), as follows:

gm.exe convert -density 400 pdftojpg.pdf pdftojpg400.jpg

Both are attached — the difference is clear. But, of course, whether or not this matters to you depends on how you plan to use the converted JPG. Regards, Joe
pdftojpg-screen-capture.jpg
pdf-to-jpg-gm-density400.jpg
Avatar of Bill Prew
Bill Prew

"The difference is clear", clever Joe...

~bp
Unintentional, I assure you. :)
I was just giving him the simplest possible solution using the tools he already has in place. He didn't say what exactly he was wanting to save. Could just be a photo or graphic inside a PDF.
Yep, I wasn't trying to bash your proposal...screen capture is a very simple solution and may be adequate for his purposes...just wanted to point out a possible downside.
Avatar of Abraham Deutsch

ASKER

Thank you Joe for your help
Seams these programs are designed to do lot of functions with imaging. In my case I need to keep it as simple possible like with save as or a jpg printer, so the user does not need to leave the file to do the conversion, teaching my client how to use a new program or cmd will just not work. He does not need anything more than conversion. now he uses sniping tool and still he compliance about need to open a new program.
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So my simple method worked?

I know users like that. You introduce a couple of extra steps and they act like you want them to do brain surgery.
> So my simple method worked?

If I'm reading it right, apparently not:
still he compliance [complains] about need to open a new program
But let's see what Abraham says.
Thank you joe for the link to the conversion printer.
You're welcome, Abraham. I'm glad that the JPG printer provides you with the kind of solution that you need for that particular user. Regards, Joe