Page 1 of 1
Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-13T09:41:07-07:00
by rforgo
I've got IM 6.3.7 running on a W2K3 server with GS 8.6.1. I'm running the command (below) from a batch file. The conversion works, but the resulting JPEG is output in what looks like portrait mode, even though the PDF is in landscape. Any part of the image that is outside of the portrait boundaries is being cut off. I just want a simple conversion that retains the aspect of the original (albeit smaller). What am I missing here?
Here's the cmd line code:
"C:\Program Files\ImageMagick-6.3.7-Q16\convert.exe" "%WD_FILE%" -resize 20%% "%WD_FILE_D%%WD_FILE_B%.jpg"
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-13T09:45:32-07:00
by magick
The problem appears to be specific to your PDF image. Can you post a URL here so we can download/inspect it and determine what the problem is?
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-13T14:19:57-07:00
by rforgo
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-13T14:20:48-07:00
by rforgo
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-13T18:28:38-07:00
by magick
We can reproduce the problem and have a patch for it in ImageMagick 6.3.7-5 Beta available within 72 hours. Thanks.
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-17T11:14:42-07:00
by rforgo
Has this been posted yet? If so where can I find it.
Just out of curiosity, what was it about this PDF that made IM treat it this way?
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-17T11:17:33-07:00
by magick
Grab the latest release of ImageMagick. It should work properly with your PDF.
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-17T11:53:40-07:00
by rforgo
Nope. Still printing in portrait mode. What now?
Re: Dimensions wrong on PDF to JPEG convert
Posted: 2007-12-17T12:03:08-07:00
by magick
Right, we updated the source but not the binaries. We'll try to get updated binaries out sometime tomorrow.