Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

CGImageProperties Reference

Framework
Declared in
CGImageProperties.h

Overview

CGImageProperties Reference defines constants that represent characteristics of images used by the Image I/O framework.

Constants

Format-Specific Dictionaries

Properties that have an associated dictionary of file-format or metadata-format specific key-value pairs.

CFStringRef kCGImagePropertyTIFFDictionary;
CFStringRef kCGImagePropertyGIFDictionary;
CFStringRef kCGImagePropertyJFIFDictionary;
CFStringRef kCGImagePropertyExifDictionary;
CFStringRef kCGImagePropertyPNGDictionary;
CFStringRef kCGImagePropertyIPTCDictionary;
CFStringRef kCGImagePropertyGPSDictionary;
CFStringRef kCGImagePropertyRawDictionary;
CFStringRef kCGImagePropertyCIFFDictionary;
CFStringRef kCGImageProperty8BIMDictionary;
CFStringRef kCGImagePropertyDNGDictionary;
CFStringRef kCGImagePropertyExifAuxDictionary;

Constants
kCGImagePropertyTIFFDictionary

A dictionary of key-value pairs for an image that uses Tagged Image File Format (TIFF). See “TIFF Dictionary Keys.”

kCGImagePropertyGIFDictionary

A dictionary of key-value pairs for an image that uses Graphics Interchange Format (GIF). See “GIF Dictionary Keys.”

kCGImagePropertyJFIFDictionary

A dictionary of key-value pairs for an image that uses JPEG File Interchange Format (JFIF). See “JFIF Dictionary Keys.”

kCGImagePropertyExifDictionary

A dictionary of key-value pairs for an image that uses Exchangeable Image File Format (EXIF). See “EXIF Dictionary Keys.”

kCGImagePropertyPNGDictionary

A dictionary of key-value pairs for an image that uses Portable Network Graphics (PNG) format. See “PNG Dictionary Keys.”

kCGImagePropertyIPTCDictionary

A dictionary of key-value pairs for an image that uses International Press Telecommunications Council (IPTC) metadata. See “IPTC Dictionary Keys.”

kCGImagePropertyGPSDictionary

A dictionary of key-value pairs for an image that has Global Positioning System (GPS) information. See “GPS Dictionary Keys.”

kCGImagePropertyRawDictionary

A dictionary of key-value pairs for an image that contains minimally processed, or raw, data.

kCGImagePropertyCIFFDictionary

A dictionary of key-value pairs for an image that uses Camera Image File Format (CIFF). See “CIFF Dictionary Keys.”

kCGImageProperty8BIMDictionary

A dictionary of key-value pairs for an Adobe Photoshop image. See “8BIM Dictionary Keys.”

kCGImagePropertyDNGDictionary

A dictionary of key-value pairs for an image that uses the Digital Negative (DNG) archival format. See “DNG Dictionary Keys.”

kCGImagePropertyExifAuxDictionary

An auxiliary dictionary of key-value pairs for an image that uses Exchangeable Image File Format (EXIF).

Discussion

If any of these constants are returned by the functionsCGImageSourceCopyProperties or CGImageSourceCopyPropertiesAtIndex the associated value is a dictionary of file-format or metadata-format specific key-value pairs.

Declared In
CGImageProperties.h

Camera Maker Dictionaries

Properties that have an associated dictionary of key-value pairs for a specific camera manufacturer.

CFStringRef kCGImagePropertyMakerCanonDictionary;
CFStringRef kCGImagePropertyMakerNikonDictionary;
CFStringRef kCGImagePropertyMakerMinoltaDictionary;
CFStringRef kCGImagePropertyMakerFujiDictionary;
CFStringRef kCGImagePropertyMakerOlympusDictionary;
CFStringRef kCGImagePropertyMakerPentaxDictionary;

Constants
kCGImagePropertyMakerCanonDictionary

A dictionary of key-value pairs for an image from a Canon camera. See “Canon Camera Dictionary Keys.”

kCGImagePropertyMakerNikonDictionary

A dictionary of key-value pairs for an image from a Nikon camera. See “Nikon Camera Dictionary Keys.”

kCGImagePropertyMakerMinoltaDictionary

A dictionary of key-value pairs for an image from a Minolta camera.

kCGImagePropertyMakerFujiDictionary

A dictionary of key-value pairs for an image from a Fuji camera.

kCGImagePropertyMakerOlympusDictionary

A dictionary of key-value pairs for an image from a Olympus camera.

kCGImagePropertyMakerPentaxDictionary

A dictionary of key-value pairs for an image from a Pentax camera.

Declared In
CGImageProperties.h

Image Source Container Properties

Properties that apply to the container in general but not necessarily to any individual image in the container.

CFStringRef kCGImagePropertyFileSize;

Constants
kCGImagePropertyFileSize

The size of the image file in bytes, if known. If present, this key is a CFNumber value.

Discussion

These properties can be returned by the function CGImageSourceCopyProperties.

Declared In
CGImageProperties.h

Individual Image Properties

Properties that apply to an individual image in an image source.

CFStringRef kCGImagePropertyDPIHeight;
CFStringRef kCGImagePropertyDPIWidth;
CFStringRef kCGImagePropertyPixelWidth;
CFStringRef kCGImagePropertyPixelHeight;
CFStringRef kCGImagePropertyDepth;
CFStringRef kCGImagePropertyOrientation;
CFStringRef kCGImagePropertyIsFloat;
CFStringRef kCGImagePropertyIsIndexed;
CFStringRef kCGImagePropertyHasAlpha;
CFStringRef kCGImagePropertyColorModel;
CFStringRef kCGImagePropertyProfileName;

Constants
kCGImagePropertyDPIHeight

The resolution, in dots per inch, in the x dimension. If present, this key is a CFNumber value.

kCGImagePropertyDPIWidth

The resolution, in dots per inch, in the y dimension. If present, this key is a CFNumber value.

kCGImagePropertyPixelWidth

The number of pixels in the x dimension. If present, this key is a CFNumber value.

kCGImagePropertyPixelHeight

The number of pixels in the y dimension. If present, this key is a CFNumber value.

kCGImagePropertyDepth

The number of bits in each color sample of each pixel. If present, this key is a CFNumber value.

kCGImagePropertyOrientation

The intended display orientation of the image. If present, this key is a CFNumber value with the same value as defined by the TIFF and EXIF specifications. The value specifies where the origin (0,0) of the image is locates, as shown in Table 1. If not present, a value of 1 is assumed.

Table 1  

Value

Location of the origin of the image

1

Top, left

2

Top, right

3

Bottom, right

4

Bottom, left

5

Left, top

6

Right, top

7

Right, bottom

8

Left, bottom

kCGImagePropertyIsFloat

Whether or not the image contains floating-point pixel samples. The value of this key is kCFBooleanTrue if the image contains them.

kCGImagePropertyIsIndexed

Whether or not the image contains indexed pixel samples (sometimes called paletted samples). The value of this key is kCFBooleanTrue if the image contains them.

kCGImagePropertyHasAlpha

Whether or not the image has an alpha channel. The value of this key is kCFBooleanTrue if the image contains an alpha channel.

kCGImagePropertyColorModel

The color model of the image such as, "RGB", "CMYK", "Gray", or "Lab". The value of this key is CFStringRef.

kCGImagePropertyProfileName

The name of the optional ICC profile embedded in the image, if known. If present, the value of this key is a CFStringRef.

Discussion

These properties can be returned by the function CGImageSourceCopyPropertiesAtIndex.

Declared In
CGImageProperties.h

Color Model Values

Values for the color model property.

const CFStringRef kCGImagePropertyColorModelRGB;
const CFStringRef kCGImagePropertyColorModelGray;
const CFStringRef kCGImagePropertyColorModelCMYK;
const CFStringRef kCGImagePropertyColorModelLab;

Constants
kCGImagePropertyColorModelRGB

An RGB color model.

kCGImagePropertyColorModelGray

A Gray color model.

kCGImagePropertyColorModelCMYK

A CMYK color model.

kCGImagePropertyColorModelLab

A Lab color model.

Discussion

A color model describes how color values are represented mathematically. A color space is a color model combined with a definition of how to interpret values within the model.

Declared In
CGImageProperties.h

EXIF Dictionary Keys

Keys for for an image that uses Exchangeable Image File Format (EXIF).

const CFStringRef kCGImagePropertyExifExposureTime;
const CFStringRef kCGImagePropertyExifFNumber;
const CFStringRef kCGImagePropertyExifExposureProgram;
const CFStringRef kCGImagePropertyExifSpectralSensitivity;
const CFStringRef kCGImagePropertyExifISOSpeedRatings;
const CFStringRef kCGImagePropertyExifOECF;
const CFStringRef kCGImagePropertyExifVersion;
const CFStringRef kCGImagePropertyExifDateTimeOriginal;
const CFStringRef kCGImagePropertyExifDateTimeDigitized;
const CFStringRef kCGImagePropertyExifComponentsConfiguration;
const CFStringRef kCGImagePropertyExifCompressedBitsPerPixel;
const CFStringRef kCGImagePropertyExifShutterSpeedValue;
const CFStringRef kCGImagePropertyExifApertureValue;
const CFStringRef kCGImagePropertyExifBrightnessValue;
const CFStringRef kCGImagePropertyExifExposureBiasValue;
const CFStringRef kCGImagePropertyExifMaxApertureValue;
const CFStringRef kCGImagePropertyExifSubjectDistance;
const CFStringRef kCGImagePropertyExifMeteringMode;
const CFStringRef kCGImagePropertyExifLightSource;
const CFStringRef kCGImagePropertyExifFlash;
const CFStringRef kCGImagePropertyExifFocalLength;
const CFStringRef kCGImagePropertyExifSubjectArea;
const CFStringRef kCGImagePropertyExifMakerNote;
const CFStringRef kCGImagePropertyExifUserComment;
const CFStringRef kCGImagePropertyExifSubsecTime;
const CFStringRef kCGImagePropertyExifSubsecTimeOrginal;
const CFStringRef kCGImagePropertyExifSubsecTimeDigitized;
const CFStringRef kCGImagePropertyExifFlashPixVersion;
const CFStringRef kCGImagePropertyExifColorSpace;
const CFStringRef kCGImagePropertyExifPixelXDimension;
const CFStringRef kCGImagePropertyExifPixelYDimension;
const CFStringRef kCGImagePropertyExifRelatedSoundFile;
const CFStringRef kCGImagePropertyExifFlashEnergy;
const CFStringRef kCGImagePropertyExifSpatialFrequencyResponse;
const CFStringRef kCGImagePropertyExifFocalPlaneXResolution;
const CFStringRef kCGImagePropertyExifFocalPlaneYResolution;
const CFStringRef kCGImagePropertyExifFocalPlaneResolutionUnit;
const CFStringRef kCGImagePropertyExifSubjectLocation;
const CFStringRef kCGImagePropertyExifExposureIndex;
const CFStringRef kCGImagePropertyExifSensingMethod;
const CFStringRef kCGImagePropertyExifFileSource;
const CFStringRef kCGImagePropertyExifSceneType;
const CFStringRef kCGImagePropertyExifCFAPattern;
const CFStringRef kCGImagePropertyExifCustomRendered;
const CFStringRef kCGImagePropertyExifExposureMode;
const CFStringRef kCGImagePropertyExifWhiteBalance;
const CFStringRef kCGImagePropertyExifDigitalZoomRatio;
const CFStringRef kCGImagePropertyExifFocalLenIn35mmFilm;
const CFStringRef kCGImagePropertyExifSceneCaptureType;
const CFStringRef kCGImagePropertyExifGainControl;
const CFStringRef kCGImagePropertyExifContrast;
const CFStringRef kCGImagePropertyExifSaturation;
const CFStringRef kCGImagePropertyExifSharpness;
const CFStringRef kCGImagePropertyExifDeviceSettingDescription;
const CFStringRef kCGImagePropertyExifSubjectDistRange;
const CFStringRef kCGImagePropertyExifImageUniqueID;
const CFStringRef kCGImagePropertyExifGamma;

Constants
kCGImagePropertyExifExposureTime

The exposure time.

kCGImagePropertyExifFNumber

The F number.

kCGImagePropertyExifExposureProgram

The exposure program.

kCGImagePropertyExifSpectralSensitivity

The spectral sensitivity of each channel.

kCGImagePropertyExifISOSpeedRatings

ISO speed ratings.

kCGImagePropertyExifOECF

The opto-electrical conversion function (OECF), which defines the relationship between the optical input of the camera and the image values.

kCGImagePropertyExifVersion

The version.

kCGImagePropertyExifDateTimeOriginal

The original date and time.

kCGImagePropertyExifDateTimeDigitized

The digitized date and time.

kCGImagePropertyExifComponentsConfiguration

The components configuration. For compressed data, specifies that the channels of each component are arranged in increasing numeric order (from first component to the fourth).

kCGImagePropertyExifCompressedBitsPerPixel

The compressed bits per pixel.

kCGImagePropertyExifShutterSpeedValue

The shutter speed value.

kCGImagePropertyExifApertureValue

The aperture value.

kCGImagePropertyExifBrightnessValue

The brightness value.

kCGImagePropertyExifExposureBiasValue

The exposure bias value.

kCGImagePropertyExifMaxApertureValue

The maximum aperture value.

kCGImagePropertyExifSubjectDistance

The distance to the subject, in meters.

kCGImagePropertyExifMeteringMode

The metering mode.

kCGImagePropertyExifLightSource

The light source.

kCGImagePropertyExifFlash

The flash status when the image was shot.

kCGImagePropertyExifFocalLength

The focal length.

kCGImagePropertyExifSubjectArea

The subject area.

kCGImagePropertyExifMakerNote

A maker note.

kCGImagePropertyExifUserComment

A user comment.

kCGImagePropertyExifSubsecTime

The fraction of seconds for the date and time tag.

kCGImagePropertyExifSubsecTimeOrginal

The fraction of seconds for the original date and time tag.

kCGImagePropertyExifSubsecTimeDigitized

The fraction of seconds for the digitized time tag.

kCGImagePropertyExifFlashPixVersion

The FlashPix version supported by an FPXR file. FlashPix is a format for multi-resolution, tiled images, that facilitates fast onscreen viewing.

kCGImagePropertyExifColorSpace

The color space.

kCGImagePropertyExifPixelXDimension

The pixel x dimension.

kCGImagePropertyExifPixelYDimension

The pixel y dimension.

kCGImagePropertyExifRelatedSoundFile

A related sound file.

kCGImagePropertyExifFlashEnergy

The strobe energy when the image was captures, in beam candle power seconds.

kCGImagePropertyExifSpatialFrequencyResponse

The spatial frequency table and spatial frequency response values in the direction of image width, image height, and diagonal directions. See ISO 12233..

kCGImagePropertyExifFocalPlaneXResolution

The number of image-width pixels (x) per focal plane resolution unit.

kCGImagePropertyExifFocalPlaneYResolution

The number of image-height pixels (y)per focal plane resolution unit.

kCGImagePropertyExifFocalPlaneResolutionUnit

The unit of measurement for the focal plane x and y tags.

kCGImagePropertyExifSubjectLocation

The location of the scene’s primary subject.

kCGImagePropertyExifExposureIndex

The selected exposure index.

kCGImagePropertyExifSensingMethod

The sensor type of the camera or input device.

kCGImagePropertyExifFileSource

The image source.

kCGImagePropertyExifSceneType

The scene type.

kCGImagePropertyExifCFAPattern

The color filter array (CFA) pattern, which is the geometric patter of the image sensor for a 1-chip color sensor area.

kCGImagePropertyExifCustomRendered

Special rendering performed on the image data.

kCGImagePropertyExifExposureMode

The exposure mode setting.

kCGImagePropertyExifWhiteBalance

The white balance mode.

kCGImagePropertyExifDigitalZoomRatio

The digital zoom ratio.

kCGImagePropertyExifFocalLenIn35mmFilm

The equivalent focal length in 35 mm film.

kCGImagePropertyExifSceneCaptureType

The scene capture type (standard, landscape, portrait, night).

kCGImagePropertyExifGainControl

The gain adjustment applied to the image.

kCGImagePropertyExifContrast

The contrast applied to the image.

kCGImagePropertyExifSaturation

The saturation applied to the image.

kCGImagePropertyExifSharpness

The sharpness applied to the image.

kCGImagePropertyExifDeviceSettingDescription

For a particular camera mode, indicates the conditions for taking the picture.

kCGImagePropertyExifSubjectDistRange

The subject distance range.

kCGImagePropertyExifImageUniqueID

The unique ID of the image.

kCGImagePropertyExifGamma

The gamma setting.

Declared In
CGImageProperties.h

EXIF Auxiliary Dictionary Keys

Auxiliary keys for for an image that uses Exchangeable Image File Format (EXIF).

const CFStringRef kCGImagePropertyExifAuxLensInfo;
const CFStringRef kCGImagePropertyExifAuxLensModel;
const CFStringRef kCGImagePropertyExifAuxSerialNumber;
const CFStringRef kCGImagePropertyExifAuxLensID;
const CFStringRef kCGImagePropertyExifAuxLensSerialNumber;
const CFStringRef kCGImagePropertyExifAuxImageNumber;
const CFStringRef kCGImagePropertyExifAuxFlashCompensation;
const CFStringRef kCGImagePropertyExifAuxOwnerName;
const CFStringRef kCGImagePropertyExifAuxFirmware;

Constants
kCGImagePropertyExifAuxLensInfo

Lens information.

kCGImagePropertyExifAuxLensModel

The lens model.

kCGImagePropertyExifAuxSerialNumber

The serial number.

kCGImagePropertyExifAuxLensID

The lens ID.

kCGImagePropertyExifAuxLensSerialNumber

The lens serial number.

kCGImagePropertyExifAuxImageNumber

The image number.

kCGImagePropertyExifAuxFlashCompensation

Flash compensation.

kCGImagePropertyExifAuxOwnerName

The owner name.

kCGImagePropertyExifAuxFirmware

Firmware information.

Declared In
CGImageProperties.h

GIF Dictionary Keys

Keys for an image that uses Graphics Interchange Format (GIF).

const CFStringRef kCGImagePropertyGIFLoopCount;
const CFStringRef kCGImagePropertyGIFDelayTime;
const CFStringRef kCGImagePropertyGIFImageColorMap;
const CFStringRef kCGImagePropertyGIFHasGlobalColorMap;

Constants
kCGImagePropertyGIFLoopCount

The loop count.

kCGImagePropertyGIFDelayTime

The delay time.

kCGImagePropertyGIFImageColorMap

The image color map.

kCGImagePropertyGIFHasGlobalColorMap

Whether or not the GIF has a global color map.

Declared In
CGImageProperties.h

GPS Dictionary Keys

Keys for an image that has Global Positioning System (GPS) information.

const CFStringRef kCGImagePropertyGPSVersion;
const CFStringRef kCGImagePropertyGPSLatitudeRef;
const CFStringRef kCGImagePropertyGPSLatitude;
const CFStringRef kCGImagePropertyGPSLongitudeRef;
const CFStringRef kCGImagePropertyGPSLongitude;
const CFStringRef kCGImagePropertyGPSAltitudeRef;
const CFStringRef kCGImagePropertyGPSAltitude;
const CFStringRef kCGImagePropertyGPSTimeStamp;
const CFStringRef kCGImagePropertyGPSSatellites;
const CFStringRef kCGImagePropertyGPSStatus;
const CFStringRef kCGImagePropertyGPSMeasureMode;
const CFStringRef kCGImagePropertyGPSDOP;
const CFStringRef kCGImagePropertyGPSSpeedRef;
const CFStringRef kCGImagePropertyGPSSpeed;
const CFStringRef kCGImagePropertyGPSTrackRef;
const CFStringRef kCGImagePropertyGPSTrack;
const CFStringRef kCGImagePropertyGPSImgDirectionRef;
const CFStringRef kCGImagePropertyGPSImgDirection;
const CFStringRef kCGImagePropertyGPSMapDatum;
const CFStringRef kCGImagePropertyGPSDestLatitudeRef;
const CFStringRef kCGImagePropertyGPSDestLatitude;
const CFStringRef kCGImagePropertyGPSDestLongitudeRef;
const CFStringRef kCGImagePropertyGPSDestLongitude;
const CFStringRef kCGImagePropertyGPSDestBearingRef;
const CFStringRef kCGImagePropertyGPSDestBearing;
const CFStringRef kCGImagePropertyGPSDestDistanceRef;
const CFStringRef kCGImagePropertyGPSDestDistance;
const CFStringRef kCGImagePropertyGPSProcessingMethod;
const CFStringRef kCGImagePropertyGPSAreaInformation;
const CFStringRef kCGImagePropertyGPSDateStamp;
const CFStringRef kCGImagePropertyGPSDifferental;

Constants
kCGImagePropertyGPSVersion

The version.

kCGImagePropertyGPSLatitudeRef

Whether the latitude is northern or southern.

kCGImagePropertyGPSLatitude

The latitude.

kCGImagePropertyGPSLongitudeRef

Whether the longitude is east or west.

kCGImagePropertyGPSLongitude

The longitude.

kCGImagePropertyGPSAltitudeRef

The reference altitude.

kCGImagePropertyGPSAltitude

The altitude.

kCGImagePropertyGPSTimeStamp

The time as UTC (Coordinated Universal Time).

kCGImagePropertyGPSSatellites

The satellites used for GPS measurements.

kCGImagePropertyGPSStatus

The status of the GPS receiver.

kCGImagePropertyGPSMeasureMode

The measurement mode.

kCGImagePropertyGPSDOP

The data degree of precision (DOP).

kCGImagePropertyGPSSpeedRef

The unit for expressing the GPS receiver speed of movement.

kCGImagePropertyGPSSpeed

The GPS receiver speed of movement.

kCGImagePropertyGPSTrackRef

The reference for the direction of GPS receiver movement.

kCGImagePropertyGPSTrack

The direction of GPS receiver movement.

kCGImagePropertyGPSImgDirectionRef

The reference for the direction of the image.

kCGImagePropertyGPSImgDirection

The direction of the image.

kCGImagePropertyGPSMapDatum

The geodetic survey data used by the GPS receiver.

kCGImagePropertyGPSDestLatitudeRef

Whether the latitude of the destination point is northern or southern.

kCGImagePropertyGPSDestLatitude

The latitude of the destination point.

kCGImagePropertyGPSDestLongitudeRef

Whether the longitude of the destination point is east or west.

kCGImagePropertyGPSDestLongitude

The longitude of the destination point.

kCGImagePropertyGPSDestBearingRef

The reference for giving the bearing to the destination point.

kCGImagePropertyGPSDestBearing

The bearing to the destination point.

kCGImagePropertyGPSDestDistanceRef

The units for expressing the distance to the destination point.

kCGImagePropertyGPSDestDistance

The distance to the destination point.

kCGImagePropertyGPSProcessingMethod

The name of the method used for finding a location.

kCGImagePropertyGPSAreaInformation

The name of the GPS area.

kCGImagePropertyGPSDateStamp

The data and time information relative to Coordinated Universal Time (UTC).

kCGImagePropertyGPSDifferental

Whether differential correction is applied to the GPS receiver.

Declared In
CGImageProperties.h

IPTC Dictionary Keys

Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

const CFStringRef kCGImagePropertyIPTCObjectTypeReference;
const CFStringRef kCGImagePropertyIPTCObjectAttributeReference;
const CFStringRef kCGImagePropertyIPTCObjectName;
const CFStringRef kCGImagePropertyIPTCEditStatus;
const CFStringRef kCGImagePropertyIPTCEditorialUpdate;
const CFStringRef kCGImagePropertyIPTCUrgency;
const CFStringRef kCGImagePropertyIPTCSubjectReference;
const CFStringRef kCGImagePropertyIPTCCategory;
const CFStringRef kCGImagePropertyIPTCSupplementalCategory;
const CFStringRef kCGImagePropertyIPTCFixtureIdentifier;
const CFStringRef kCGImagePropertyIPTCKeywords;
const CFStringRef kCGImagePropertyIPTCContentLocationCode;
const CFStringRef kCGImagePropertyIPTCContentLocationName;
const CFStringRef kCGImagePropertyIPTCReleaseDate;
const CFStringRef kCGImagePropertyIPTCReleaseTime;
const CFStringRef kCGImagePropertyIPTCExpirationDate;
const CFStringRef kCGImagePropertyIPTCExpirationTime;
const CFStringRef kCGImagePropertyIPTCSpecialInstructions;
const CFStringRef kCGImagePropertyIPTCActionAdvised;
const CFStringRef kCGImagePropertyIPTCReferenceService;
const CFStringRef kCGImagePropertyIPTCReferenceDate;
const CFStringRef kCGImagePropertyIPTCReferenceNumber;
const CFStringRef kCGImagePropertyIPTCDateCreated;
const CFStringRef kCGImagePropertyIPTCTimeCreated;
const CFStringRef kCGImagePropertyIPTCDigitalCreationDate;
const CFStringRef kCGImagePropertyIPTCDigitalCreationTime;
const CFStringRef kCGImagePropertyIPTCOriginatingProgram;
const CFStringRef kCGImagePropertyIPTCProgramVersion;
const CFStringRef kCGImagePropertyIPTCObjectCycle;
const CFStringRef kCGImagePropertyIPTCByline;
const CFStringRef kCGImagePropertyIPTCBylineTitle;
const CFStringRef kCGImagePropertyIPTCCity;
const CFStringRef kCGImagePropertyIPTCSubLocation;
const CFStringRef kCGImagePropertyIPTCProvinceState;
const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationCode;
const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationName;
const CFStringRef kCGImagePropertyIPTCOriginalTransmissionReference;
const CFStringRef kCGImagePropertyIPTCHeadline;
const CFStringRef kCGImagePropertyIPTCCredit;
const CFStringRef kCGImagePropertyIPTCSource;
const CFStringRef kCGImagePropertyIPTCCopyrightNotice;
const CFStringRef kCGImagePropertyIPTCContact;
const CFStringRef kCGImagePropertyIPTCCaptionAbstract;
const CFStringRef kCGImagePropertyIPTCWriterEditor;
const CFStringRef kCGImagePropertyIPTCImageType;
const CFStringRef kCGImagePropertyIPTCImageOrientation;
const CFStringRef kCGImagePropertyIPTCLanguageIdentifier;
const CFStringRef kCGImagePropertyIPTCStarRating;

Constants
kCGImagePropertyIPTCObjectTypeReference

The object type.

kCGImagePropertyIPTCObjectAttributeReference

The object attribute.

kCGImagePropertyIPTCObjectName

The object name.

kCGImagePropertyIPTCEditStatus

The edit status.

kCGImagePropertyIPTCEditorialUpdate

An editorial update.

kCGImagePropertyIPTCUrgency

The urgency level.

kCGImagePropertyIPTCSubjectReference

The subject.

kCGImagePropertyIPTCCategory

The category.

kCGImagePropertyIPTCSupplementalCategory

A supplemental category.

kCGImagePropertyIPTCFixtureIdentifier

A fixture identifier.

kCGImagePropertyIPTCKeywords

Keywords.

kCGImagePropertyIPTCContentLocationCode

The content location code.

kCGImagePropertyIPTCContentLocationName

The content location name.

kCGImagePropertyIPTCReleaseDate

The release date.

kCGImagePropertyIPTCReleaseTime

The release time.

kCGImagePropertyIPTCExpirationDate

The expiration date.

kCGImagePropertyIPTCExpirationTime

The expiration time.

kCGImagePropertyIPTCSpecialInstructions

Special instructions.

kCGImagePropertyIPTCActionAdvised

The advised action.

kCGImagePropertyIPTCReferenceService

The reference service.

kCGImagePropertyIPTCReferenceDate

The reference date.

kCGImagePropertyIPTCReferenceNumber

The reference number.

kCGImagePropertyIPTCDateCreated

The date created.

kCGImagePropertyIPTCTimeCreated

The time created.

kCGImagePropertyIPTCDigitalCreationDate

The digital creation date.

kCGImagePropertyIPTCDigitalCreationTime

The digital creation time.

kCGImagePropertyIPTCOriginatingProgram

The originating program.

kCGImagePropertyIPTCProgramVersion

The program version.

kCGImagePropertyIPTCObjectCycle

The object cycle.

kCGImagePropertyIPTCByline

The byline.

kCGImagePropertyIPTCBylineTitle

The byline title.

kCGImagePropertyIPTCCity

The city.

kCGImagePropertyIPTCSubLocation

The sublocation.

kCGImagePropertyIPTCProvinceState

The province or state.

kCGImagePropertyIPTCCountryPrimaryLocationCode

The country primary location code.

kCGImagePropertyIPTCCountryPrimaryLocationName

The country primary location name.

kCGImagePropertyIPTCOriginalTransmissionReference

The original transmission reference.

kCGImagePropertyIPTCHeadline

The headline.

kCGImagePropertyIPTCCredit

Credit information.

kCGImagePropertyIPTCSource

The source.

kCGImagePropertyIPTCCopyrightNotice

The copyright notice.

kCGImagePropertyIPTCContact

Contact information.

kCGImagePropertyIPTCCaptionAbstract

The caption abstract.

kCGImagePropertyIPTCWriterEditor

The writer or editor.

kCGImagePropertyIPTCImageType

The image type.

kCGImagePropertyIPTCImageOrientation

The image orientation.

kCGImagePropertyIPTCLanguageIdentifier

The language identifier.

kCGImagePropertyIPTCStarRating

The star rating.

Discussion

IPTC constants are metadata elements of the Information Interchange Model (IIM) used to provide information about images. The IIM was developer by the Newspaper Association of America (NAA) and the International Press Telecommunications Council (IPTC).

Declared In
CGImageProperties.h

JFIF Dictionary Keys

Keys for an image that uses JPEG File Interchange Format (JFIF).

const CFStringRef kCGImagePropertyJFIFVersion;
const CFStringRef kCGImagePropertyJFIFXDensity;
const CFStringRef kCGImagePropertyJFIFYDensity;
const CFStringRef kCGImagePropertyJFIFDensityUnit;
const CFStringRef kCGImagePropertyJFIFIsProgressive;

Constants
kCGImagePropertyJFIFVersion

The version.

kCGImagePropertyJFIFXDensity

The x density.

kCGImagePropertyJFIFYDensity

The y density.

kCGImagePropertyJFIFDensityUnit

The density unit.

kCGImagePropertyJFIFIsProgressive

Whether or not the image is progressive.

Declared In
CGImageProperties.h

PNG Dictionary Keys

Keys for an image that uses Portable Network Graphics (PNG) format.

const CFStringRef kCGImagePropertyPNGGamma;
const CFStringRef kCGImagePropertyPNGInterlaceType;
const CFStringRef kCGImagePropertyPNGXPixelsPerMeter;
const CFStringRef kCGImagePropertyPNGYPixelsPerMeter;
const CFStringRef kCGImagePropertyPNGsRGBIntent;
const CFStringRef kCGImagePropertyPNGChromaticities;