Hey folks, I am a little stuck here. I am trying to extract (and later modify) text and images in a PDF. First I turned to PDFkit but that seems to be way to high level for these things. Now I am trying with Quartz.
While I get to the CGPDFPageRef int pages = CGPDFDocumentGetNumberOfPages(doc); for(int p = 1; p<=pages; p++) { CGPDFPageRef page = CGPDFDocumentGetPage(doc, p); I just assume that the actual content is hidden inside the page's content stream(s). Currently I am going through the "VoyeurNode" example but I still can't seem to find where to get hold of the actual content. There is a CGPDFScannerScan but that doesn't look right either. I've looked at http://developer.apple.com/documentation/GraphicsImaging/Conceptual/PDFKitGuide/PDFKit_Prog_Intro/chapter_1_section_1.html http://developer.apple.com/documentation/graphicsimaging/reference/CGPDFContentStream/Reference/reference.html#//apple_ref/doc/uid/TP40001407-CH1g-SW3 and in particular at http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf_scan/chapter_15_section_3.html Any other pointers? cheers -- Torsten _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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]