Re: Problem with NSData to NSString to NSData
Re: Problem with NSData to NSString to NSData
- Subject: Re: Problem with NSData to NSString to NSData
- From: "Dave Geering" <email@hidden>
- Date: Thu, 30 Oct 2008 09:31:22 +1100
> From your original implementation of putting the metadata directly into the PDF file, you'll now end up with obviously a proprietary file. i.e. No application that works with PDF will be able to work with that file.
That is not at all true. You can embed the data into a PDF stream but
never reference it. You'll have to check for an available stream ID
and also correct the cross reference table. You could in fact leave
the original cross reference table intact, add a new stream with your
metadata after the original %%EOF marker, construct the
cross-reference table with only one entry (the stream containing the
metadata), and adding another %%EOF marker. This is perfectly legit
PDF and in fact is the recommended way to use incremental updates as
per page 70 of the PDF reference.
_______________________________________________
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