Page 1 of 1

PDF to PNG

Posted: 2017-01-30T05:57:39-07:00
by vsambhe
Hi I am using convert command line utility to convert PDF to PNG. I am using the following command

CONVERT IG202.PDF -quality 100 F:\IG202.PNG

I am not getting proper clarity in the converted image. Its all blurred. Can anyone give me some feedback I need to keep it very clear in the converted image.

What options I am missing. I tried density but it did not help either.

Thanks,

Vijay

Re: PDF to PNG

Posted: 2017-01-30T06:19:05-07:00
by snibgo
Did you try "-density 600" (or similar) before the input PDF?

Re: PDF to PNG

Posted: 2017-01-30T08:14:13-07:00
by vsambhe
I tried, it does not help. Is there a way I can send this pdf to you?

Re: PDF to PNG

Posted: 2017-01-30T08:32:44-07:00
by snibgo
You can put it online somewhere like dropbox.com and paste the URL here. I can't download files more than about 10 MB.

Re: PDF to PNG

Posted: 2017-01-30T09:01:17-07:00
by vsambhe
Hi There

I have sent you the PM. Please check. I have uploaded on dropbox for you.

Thanks,

Vijay

Re: PDF to PNG

Posted: 2017-01-30T09:58:10-07:00
by snibgo
The PDF is a vector diagram with graphic lines, letters and numbers, and other characters.

With IM v6.9.5-3 and Ghostscript v9.19:

Code: Select all

convert -density 600 IG202.PDF out.png
This shows the graphics and characters as clearly as Adobe Reader. With 300, some fine detail is lost, but the writing is still clear.

Re: PDF to PNG

Posted: 2017-01-30T10:30:31-07:00
by vsambhe
Uploaded the file on dropbox - The link is https://www.dropbox.com/s/kehjpa3bmdvfn ... 2.pdf?dl=0

Re: PDF to PNG

Posted: 2017-01-30T10:35:06-07:00
by vsambhe
Thanks. May be the flag quality was messing it for me then. Thanks for having a look at this.