On Jun 20, 2008, at 3:28 PM, Grant Limberg wrote:
Initially I was storing the data in Core Data. In my app, the user has the ability to attach an image to a record in Core Data. Unfortunately, changing from a JPEG to NSData inflates a 1.5MB JPEG to over 20 MB. In talking with some folks at the local Cocoaheads meeting on wednesday, one person suggested making a bundle or package in Application Support to store the images and just have a referencing URL in the Core Data store. This is what I'm trying to do now.
It doesn't sound to me that you actually need to have a bundle. You can just store the image data as files in the file system.
I'm also curious as to why you decompress the JPEG file? If you got the image as a compressed JPEG, why not store it as is?
j o a r _______________________________________________ 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]