Re: identify & display PDF CropBox?
Michael Howard <[email protected]> Mon, 7 Feb 2011 09:57:28 -0500
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <[email protected]> |
Wolfgang, Thank you for your response. I am only beginning to learn about PDF format ... I wondered about performing a text search, but was concerned about the following: Q: Is it possible that some attributes (like CropBox) might be "inherited" and not defined on a page-by-page basis? Q: Is it the case that the document pages will be in the same order in the PDF file? Thanks, Michael On Mon, Feb 7, 2011 at 5:54 AM, Wolfgang Hugemann <[email protected]> wrote: > As PDF is pure ASCII, you could use FIND (Windows) or -- more > sophisticated -- SED (Linux or Windows) to extract that information from > the PDF file. Keep in mind that it is mostly written as 'CropBox' within > PDF files, so your search should better be case-insensitive. > > Wolfgang Hugemann > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users >