Page 1 of 1

Shows error while converting pdf to png

Posted: Thu Feb 07, 2019 7:55 am
by Pragasam
while converting from pdf to png I am getting errors like

my_error_exit...<Not a JPEG file: starts with 0x25 0x50>

The command that i have used is

nconvert -xall -dpi 200 -multi -c 8 -out png -o D:\clientdata\666532569.png D:\clientdata\666532569.pdf
nconvert -out png -xall -o D:\clientdata\test.png D:\clientdata\666532569.pdf

I have attached the file that i have tried with.

Please help me out to convert this type of files

Thanks

Re: Shows error while converting pdf to png

Posted: Thu Feb 07, 2019 8:12 am
by xnview
do you have ghostscript?

Re: Shows error while converting pdf to png

Posted: Thu Feb 07, 2019 8:30 am
by Pragasam
xnview wrote: Thu Feb 07, 2019 8:12 am do you have ghostscript?
I don't have anything like that. I directly execute this command, in windows command line and convert.

Re: Shows error while converting pdf to png

Posted: Thu Feb 07, 2019 8:35 am
by xnview
To be able to load PDF you need to install ghostscript

Re: Shows error while converting pdf to png

Posted: Thu Feb 07, 2019 9:36 am
by Pragasam
xnview wrote: Thu Feb 07, 2019 8:35 am To be able to load PDF you need to install ghostscript
Thanks for the quick update. It is working as we expect.