Page 1 of 1
Convert PDF to jpg files
Posted: Wed May 28, 2008 7:52 pm
by boxig
Hi
I want to convert a pdf file so that each page (text) will be a jpg image. I tried these two but fail:
-o Output.jpg -out.jpg -xall -input.pdf
-xall -o test.jpg input.pdf
Also I want to know if I can resize the images to 80%.
Please help and thank you.
box
Crappy workaroun---
Posted: Wed May 28, 2008 8:04 pm
by Clo
boxig

Hello ! Welcome aboard !
• Just a crappy workaround :
- Set your PDF pages in order they fit the "View" window, then Alt+PrintScreen >> Close the page >>
Import Clipboard >> Crop >> Save as JPG.
- For each, indeed…

Kind regards
Claude
Clo
Posted: Wed May 28, 2008 8:23 pm
by boxig
Clo
Thank you for quick reply.
I found how to do it using this but have problem:
-xall -out jpeg -o test.jpg input.pdf
It seems that the pages are reduced and the jpg are compressed so the result is blur. I want to keep original size and not to compress, or to have controll these two. How do I do that ?
thank you
box
Posted: Thu May 29, 2008 7:24 am
by xnview
Could you post the pdf file?
Posted: Thu May 29, 2008 8:30 am
by boxig
Posted: Thu May 29, 2008 2:20 pm
by xnview
Ok, right. You can change the dpi used
Posted: Fri May 30, 2008 3:35 pm
by boxig
Finally I made it work but when i gave to a friend the same script he got an error message:
G:\XNVIEW>nconvert.exe -xall -out jpeg -dpi 100 -o x.jpg a.pdf
** NCONVERT v4.95 (c) 1991-2008 Pierre-E Gougelet (May 1 2008/17:48:32) **
Version for Windows NT/9x/2000/Xp/Vista (All rights reserved)
** This is a freeware software (for non commercial use)
Error: Don't know how to read this picture (a.pdf)
Conversion of a.pdf into x.jpg OK
What he makes wrong ?
And why the last line say "OK" ?
Thank you
box
Posted: Sat May 31, 2008 1:51 pm
by xnview
Perhaps he has not ghostscript
Posted: Sat May 31, 2008 2:22 pm
by boxig
I never installed "ghostscript" and have no problem (?)
Thank you
Posted: Mon Jun 02, 2008 1:17 pm
by xnview
boxig wrote:I never installed "ghostscript" and have no problem (?)
You have ghostscript

Nconvert use it
Posted: Mon Jun 02, 2008 2:49 pm
by boxig
just for general knowledge:
Was it installed by another program or by XnView ?
Thank you
box
Posted: Mon Jun 02, 2008 6:08 pm
by xnview
boxig wrote:just for general knowledge:
Was it installed by another program or by XnView ?
Another program
Re:
Posted: Sat Jul 23, 2016 4:16 pm
by xnview_user657
boxig wrote:I never installed "ghostscript" and have no problem (?)
Thank you
Instead of ghostscript you can use a very simple opensource library
http://www.foolabs.com/xpdf/home.html or free software
http://pdf-to-jpg-convert.en.softonic.com
ghostscript is more of a general conversion and virtual printer software while the above ones are specific to PDF to JPG image conversion.