The page below contains the following code fragment. Unless I'm
mistaken CGPDFPageRelease should not follow CGPDFDocumentGetPage.
Nick
----------------------------
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
drawingwithquartz2d/dq_pdf_scan/chapter_15_section_3.html
for (k = 0; k < numOfPages; k++) {
myPage = CGPDFDocumentGetPage (myDocument, k + 1 );
myContentStream = CGPDFContentStreamCreateWithPage (myPage);
myScanner = CGPDFScannerCreate (myContentStream, myTable, NULL);
CGPDFScannerScan (myScanner);
CGPDFPageRelease (myPage);
CGPDFScannerRelease (myScanner);
CGPDFContentStreamRelease (myContentStream);
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (
Quartz-dev@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/subscriber%40opensubscriber.com
This email sent to
subscriber@open...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.