On Mon, 17 Mar 2008 14:11:27 +0530,
Vinay Prabhu (email@hidden) wrote:
>I am trying to extract Exif data and Camera information from the JPEG
>file.
>There are keys provided for specific cameras like Nikon, Canon etc in
>the Image Properties.
>
>Is there any way to get the camera model of other companies from the
>JPEG file created by those camera's?
Yes, by using the ImageIO framework. Something like this:
CGImageSourceRef imageSource;
CFDictionaryRef metadata;
if((imageSource = CGImageSourceCreateWithURL(myImageURL, 0)))
{
if((metadata = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, 0)))
{
// the metadata dictionary should contain all
// the Exif data you need, including make and model.
}
CFRelease(metadata);
}
-- marco
--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden
This email sent to email@hidden