Cropping a pdf file doesn't change it's size
Posted: 2011-08-02T14:42:03-07:00
Hello,
I cropped a pdf file. That's the code:
Opening the new file tmp.pdf shows that it worked, but the size 595x842 has not been changed.
So it's not possible to create a correct jpeg thumbnail of the cropped pdf file.
There is always white space above the real content. I guess, this happens because of the wrong size of the new file...
I cropped a pdf file. That's the code:
Code: Select all
# identify 17.pdf
17.pdf PDF 595x842 595x842+0+0 DirectClass 16-bit 1.43341mb
# convert 17.pdf -crop 200x200+0+0 tmp.pdf
# identify tmp.pdf
tmp.pdf PDF 595x842 595x842+0+0 DirectClass 16-bit 1.43341mb
So it's not possible to create a correct jpeg thumbnail of the cropped pdf file.
There is always white space above the real content. I guess, this happens because of the wrong size of the new file...