tile crop of pdf seems to rasterize whole image before crop?
Posted: 2011-10-11T09:54:58-07:00
Hi,
I'm slicing a huge pdf file into a sequence of png images. I use convert with the -crop option, specifying only width and hight (not offsets) so it does the automatic tiling.
I would expect imagemagick to rasterize each tile (portion of the pdf) into a bitmap, process and output it, and then rasterize the next piece, etc. However, I am under the impression that it is actually rasterizing the whole pdf into a huuuuuuge bitmap and then cropping it into pieces, requiring a huge amount of memory that wouldn't be needed otherwise. Is it so?
And if I wanted to crop only _one_ piece of the pdf (i.e., specify also x and y offsets), would it still rasterize the whole pdf and then crop the bitmap?
Thanks
m.
I'm slicing a huge pdf file into a sequence of png images. I use convert with the -crop option, specifying only width and hight (not offsets) so it does the automatic tiling.
I would expect imagemagick to rasterize each tile (portion of the pdf) into a bitmap, process and output it, and then rasterize the next piece, etc. However, I am under the impression that it is actually rasterizing the whole pdf into a huuuuuuge bitmap and then cropping it into pieces, requiring a huge amount of memory that wouldn't be needed otherwise. Is it so?
And if I wanted to crop only _one_ piece of the pdf (i.e., specify also x and y offsets), would it still rasterize the whole pdf and then crop the bitmap?
Thanks
m.