• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSData from CGPDFPageRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData from CGPDFPageRef


  • Subject: Re: NSData from CGPDFPageRef
  • From: Christian Ziegler <email@hidden>
  • Date: Thu, 20 May 2010 15:56:16 +0200

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@hidden> 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@hidden)

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:

This email sent to email@hidden

References: 
 >NSData from CGPDFPageRef (From: Christian Ziegler <email@hidden>)
 >Re: NSData from CGPDFPageRef (From: Gustavo Pizano <email@hidden>)
 >Re: NSData from CGPDFPageRef (From: Christian Ziegler <email@hidden>)
 >Re: NSData from CGPDFPageRef (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Simulating Text Input
  • Next by Date: Re: Simulating Text Input
  • Previous by thread: Re: NSData from CGPDFPageRef
  • Next by thread: [iPhone] How to scale a UITextView Properly with typing text shown
  • Index(es):
    • Date
    • Thread