While you can get most of these properties using NSImage or CGImage , I would look at ImageIO.framework.
This has the advantage that it can read the headers of several image formats without reading the entire image in RAM.
Apple provides an example application that does exactly what you need: ImageApp
Information on obtaining metadata with ImageIO can also be found in the Image I / O Programming Guide "Viewing Image Properties" .
To get file metadata, you can use NSFileManager attributesOfItemAtPath::
NSError* error = nil; NSDictionary* fileAttributeDict = [[NSFileManager defaultManager] attributesOfItemAtPath:imageFilePath error:&error]; NSLog(@"creation date:%@\nmodification date:%@", fileAttributeDict.fileCreationDate, fileAttributeDict.fileModificationDate);
source share