Thanks for your reply Kyle! Well, I don't know the exact data structure of pdfs but I'm just figuring it out step by step. Anyways, what I am trying to achieve is, to create a kind of fingerprint of a pdf page and it should be as performant as possible and as platform independent as possible (that may be too much too ask but we'll see). I would assume extracting a page and creating a new document is not very efficient? I just want to avoid parsing, but it looks like I won't get around that. I'll just have to figure out whether parsing every single object/operator in the stream(s) of a page is necessary.
Cheers, Chris On 20.05.2010, at 15:26, Kyle Sluder wrote: > On May 20, 2010, at 4:25 AM, Christian Ziegler <[email protected]> wrote: > >> unfortunately that is not what I'm looking for. I want to be able to load an >> existing pdf file and create some byte representation of each page. > > This doesn't really make any sense. How is a PDF page meaningful outside of a > PDF document? What would a "data representation" of a page contain? > > You could extract the page into its own document and get a data > representation of that. > > --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
