Re: Memory efficient way to get image metadata?
Re: Memory efficient way to get image metadata?
- Subject: Re: Memory efficient way to get image metadata?
- From: John Calhoun <email@hidden>
- Date: Mon, 3 Aug 2009 13:33:51 -0700
On Aug 3, 2009, at 1:23 PM, email@hidden wrote:
Is there some way (other than rolling my own image readers) to just
get the metadata from a file rather than having to load the entire
thing? A third party class that would be something like
"NSImageInfo" (if Apple had written such a class)
Look into ImageIO on the OS. It is not a Cocoa class library but
rather a C-level framework. You can get the properties from an image
probably a good deal more efficiently than via NSImage. And you could
easily wrap it all in your own "ImageInfo" Objective-C class if you
want.
John Calhoun—_______________________________________________
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