Re: CoreData, image storage - NSImage or CGImage?
Re: CoreData, image storage - NSImage or CGImage?
- Subject: Re: CoreData, image storage - NSImage or CGImage?
- From: Bill Bumgarner <email@hidden>
- Date: Mon, 13 Aug 2007 14:55:50 -0700
On Aug 13, 2007, at 2:32 PM, Graham Perks wrote:
I do want to create a thumbnail of the images for performance, so I
was looking at CGImageSourceCreateThumbnailAtIndex. Of course that
doesn't use NSImage; the resulting thumbnail is a CGImage. I'd want
to stash the thumbnail in Core Data so do I need to convert to an
NSImage at that point? Or should I switch everything to store
CGImages in CoreData?
"performance" and "storing images in a database" aren't phrases you
typically see in the same paragraph or two without a negative between.
If performance is important, store the images in the filesystem and
store references to the images in the database...
b.bum
_______________________________________________
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