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 :
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
pdf -> jpg = wrong size image
Re: pdf -> jpg = wrong size image
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?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: pdf -> jpg = wrong size image
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
See IM Exmaples, Postscript handling
http://www.imagemagick.org/Usage/text/#postscript
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/