Is there a free way to convert a PDF document to a PNG image?
Windows: Install PDFCreator and open your PDF. Print it to the PDFCreator printer (or whatever you called it) and hit save. When you hit save, after choosing a filename, set the filetype to PNG.
Linux: Install ImageMagick (on Ubuntu:
sudo apt-get install imagemagick) and then in a terminal type:
convert [Input PDF File.pdf] [Output PNG File.png].
Mac OS X: Open the PDF in Preview and in the Save As dialog, set the filetype to png.
You could also use
"c:\Program Files\gs\gs9.10\bin\gswin64.exe" -dBATCH -dNOPAUSE -sDEVICE=pnggray -r300 -dUseCropBox -sOutputFile="path_to_png_files\pdffilename-%03d.png" "path_to_pdf_file\pdffilename.pdf"
The path to
GS should be adjusted based on your installation.
DEVICE parameter here will specify grayscale. You can also output with color instead. These settings will allow you to output to 24-bit color, 300 dpi PNG files using the RGB.icc color profile:
-sDEVICE=png16m -sOutputICCProfile=default_rgb.icc -r300
GS seems to run much faster, and it is more suitable for big batches of conversion.
protected by Community♦ May 25 '15 at 7:11
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?