PDF With different page sizes loads wrong in IM
Posted: 2007-09-28T06:33:48-07:00
Version: ImageMagick 6.3.5 09/28/07 Q16 http://www.imagemagick.org
As you can see, IM lists all pages as same size, here's what ghostscript says (v 8.60):
Ghostscript is correct, IM is wrong. Is there a way to circumvent this behaviour or is it a bug that needs fixing?
Kind regards,
Michael
Code: Select all
# 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
Code: Select all
# /usr/local/bin/gs -dNODISPLAY -q -sFile=test.pdf -dDumpMediaSizes pdf_info.ps
test.pdf has 13 pages.
Creator: Adobe InDesign CS2 (4.0.4)
Producer: Adobe PDF Library 7.0
CreationDate: D:20070917142453+02'00'
ModDate: D:20070917142602+02'00'
Trapped: False
Page 1 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Page 2 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 3 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 4 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 5 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 6 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 7 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 8 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 9 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 10 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 11 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 12 MediaBox: [ 1190.55 841.89 ] CropBox: [ 1190.55 841.89 ]
Page 13 MediaBox: [ 595.276 841.89 ] CropBox: [ 595.276 841.89 ]
Kind regards,
Michael