Re: Deleting images from a PDF
Alfred Reibenschuh <[email protected]> Wed, 02 Apr 2008 12:57:08 +0200
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Roger Burton West wrote: | Just in case there are any humans on this list, and not just spambots... | | I want to write a filter which will remove all bitmapped images from its | input PDF. (This is for viewing on mobile devices with small screens.) | It seems to me that what I ought to be doing is enumerating the objects | in the source PDF and copying to the destination PDF all of those which | aren't bitmaps or references to bitmaps. Does this seem plausible, or is | it hopelessly naif? If it does seem plausible, how does one enumerate | objects using PDF::API2? | | Roger | you might want to look at the scripts in the contrib directory and keep a pdf-reference handy. C - -- fredo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH82aEjKJMaHhpyr4RCLHPAKClgBNIktx10luTyNb8qrgk7FlJswCfdQ3Y uhcRhIPLleEHiYDTfGxhH4w= =oEMa -----END PGP SIGNATURE-----