Converting PDF to JPG with ImageMagick

Q

\n

How to convert my PDF document into images with ImageMagick?\nCan I use the ImageMagick "convert" command to convert PDF files?\n

\n\n

✍: FYIcenter.com

A
\n

Yes. You can use ImageMagick "convert" command to convert PDF files into \nimages and store them in JPG or other image file formats.\nYou can test it out in these steps:\n\n

1. Assuming you have a PDF file called test.pdf.\n\n

2. Open a command line window.\n\n

3. Run "convert test.pdf test.jpg" command.\n

\nC:\\fyicenter>convert test.pdf test.jpg\n\nC:\\fyicenter>identify test-0.jpg\ntest-0.jpg JPEG 612x792 612x792+0+0 8-bit sRGB 108KB 0.000u 0:00.000\n
\n\n

Notice that the resulting image has a resolution of 72PPI, which is gives a poor quality.\n\n\n

2013-11-15, 3108🔥, 0💬