Re: File sizes when NSImage's are included
Re: File sizes when NSImage's are included
- Subject: Re: File sizes when NSImage's are included
- From: Nicko van Someren <email@hidden>
- Date: Mon, 29 Dec 2003 19:02:23 +0000
On 29 Dec 2003, at 17:54, Kaelin Colclasure wrote:
A simpler solution might be to use a bundle for your application's
documents, and simply copy the original jpeg files into the bundle
somewhere. Then, when writing out the document contents, just write
the relative path to each jpeg file rather than the image data.
That's exactly what I'd like to do with my application. The problem is
I've not found an efficient way to get hold of the original JPEG data
if the users drag images to the NSImageView themselves, and the whole
process becomes very convoluted when you have users dragging things
like clippings or images from other sources. What I really need is a
clean method get from an NSImage the data from which it was created.
Nicko
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.