Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
# identify test.pdf
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] ****
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] ****
**** Warning: CS/cs (setcolorspace) operand not a name: [/ICCBased -dict-] ****
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Adobe PDF Library 7.0 <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
test.pdf[0] PDF 595x842 595x842+0+0 DirectClass 16-bit 11.9454mb 1.700u 0:03
test.pdf[1] PDF 595x842 595x842+0+0 DirectClass 16-bit 11.9454mb 1.470u 0:02
test.pdf[2] PDF 595x842 595x842+0+0 DirectClass 16-bit 11.9454mb 1.250u 0:02
test.pdf[3] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb 1.020u 0:02
test.pdf[4] PDF 595x842 595x842+0+0 DirectClass 16-bit 11.9454mb 0.990u 0:02
test.pdf[5] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb 0.710u 0:02
test.pdf[6] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb 0.690u 0:02
test.pdf[7] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb 0.650u 0:02
test.pdf[8] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb
test.pdf[9] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb
test.pdf[10] PDF 595x842 595x842+0+0 PseudoClass 256c 16-bit 11.9454mb
test.pdf[11] PDF 595x842 595x842+0+0 DirectClass 16-bit 11.9454mb
test.pdf[12] PDF 595x842 595x842+0+0 DirectClass 16-bit 11.9454mb
As you can see, IM lists all pages as same size, here's what ghostscript says (v 8.60):
Can you post a URL to your PDF image so we can download it and test. An enhancement is required to ImageMagick to be able to handle different page sizes.
It seems my editing the file to reduce file size changed more than that. It now behaves as you say (All pages equal largest size), however the original (test.pdf) does not.
The original behaved like you said when i used "ImageMagick-6.2.9-8.i386.rpm" but i've upgraded since...
Could anyone point me to where in the code this size detection is being made? i tried looking into coders/pdf.c but as far as i can tell, everything there is correct - the actual image rendering and page size setting is done somewhere else?