Page 1 of 1

pdf -> jpg = wrong size image

Posted: 2007-08-01T03:31:47-07:00
by camilleroux
Hello

I'm generating pdf from ppt files (in landscape format). The pdf is ok, but when I convert it to jpg, the image is in a bad format and there's a blank space above the picture :
Image

Here is the result of "identify" on the pdf:
xxx.p.pdf[0] PDF 720x842 720x842+0+0 PseudoClass 256c 7.5mb 0.260u 0:02
xxx.p.pdf[1] PDF 720x842 720x842+0+0 DirectClass 7.5mb
xxx.p.pdf[2] PDF 720x842 720x842+0+0 PseudoClass 256c 7.5mb
xxx.p.pdf[3] PDF 720x842 720x842+0+0 DirectClass 7.5mb
xxx.p.pdf[4] PDF 720x842 720x842+0+0 PseudoClass 256c 7.5mb
xxx.p.pdf[5] PDF 720x842 720x842+0+0 PseudoClass 256c 7.5mb
xxx.p.pdf[6] PDF 720x842 720x842+0+0 DirectClass 7.5mb

I think the problem is that IM doesn't take care about the resolution or something like that.
I did the same test for a lot of ppt converted in pdf and there's all the time the same problem.
Could you help me to fin this problem?

Thank you

PS: let me know if you want futher details

Re: pdf -> jpg = wrong size image

Posted: 2007-09-03T01:57:17-07:00
by camilleroux
I posted, 1 month ago, on the forum, the mailling-list and to the developer's mail and I've still no answer at all. Can I add some information? send a sample file?

Re: pdf -> jpg = wrong size image

Posted: 2007-09-05T19:57:34-07:00
by anthony
Set -density for number of 'dots per inch' you want for you PDF.

See IM Exmaples, Postscript handling
http://www.imagemagick.org/Usage/text/#postscript