Deleting images from a PDF

Roger Burton West <roger-UvLOT2mcgw/[email protected]> Mon, 24 Mar 2008 22:23:45 +0000
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
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

-- 
<<< Everything below this line is inserted by YahooGroups >>>