Re: Getting image info without loading entire image
Re: Getting image info without loading entire image
- Subject: Re: Getting image info without loading entire image
- From: Ryan Britton <email@hidden>
- Date: Fri, 19 Jan 2007 15:06:39 -0800
Have you looked at CGImageSource?
http://developer.apple.com/documentation/GraphicsImaging/Reference/
CGImageSource/Reference/reference.html
On Jan 18, 2007, at 10:15 AM, Ken Tozier wrote:
Hi
I wrote a folder scanner that gathers various info on contained
files and need a way to get the color model, width and height for
storage in a database. I can do that by using NSImage
initWithContentsOfFile but it really slows down the scan when
thousands of images are involved. Is there a Cocoa way to get this
info without completely loading every image into memory?'
Thanks for any help
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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