NSImage vs NSImageRep uncompressed vs compressed data
NSImage vs NSImageRep uncompressed vs compressed data
- Subject: NSImage vs NSImageRep uncompressed vs compressed data
- From: Jiva DeVoe <email@hidden>
- Date: Wed, 18 Sep 2002 23:02:02 -0700
So I'm using NSImage to store some .jpg files, and I recently enabled
drag-n-drop to enable just dragging images from the finder and whatnot.
Anyway, I'm using the NSImage directly to write the images out as NSData to
the hard disk when I want to save the images. Well, the next thing I know,
my data file is like 150MB!!!
So the question is, is there anything special I need to do to enable
compression on these NSImages when they're saved to disk and whatnot?
_______________________________________________
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.