Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGImageSourceMBS class.

Previous items Next items

CGImageSourceMBS.kCGImagePropertyGPSTimeStamp as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that has Global Positioning System (GPS) information.

The time as UTC (Coordinated Universal Time).

CGImageSourceMBS.kCGImagePropertyGPSTrack as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that has Global Positioning System (GPS) information.

The direction of GPS receiver movement.

CGImageSourceMBS.kCGImagePropertyGPSTrackRef as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that has Global Positioning System (GPS) information.

The reference for the direction of GPS receiver movement.

CGImageSourceMBS.kCGImagePropertyGPSVersion as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that has Global Positioning System (GPS) information.

The version.

CGImageSourceMBS.kCGImagePropertyHasAlpha as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

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

CGImageSourceMBS.kCGImagePropertyIPTCActionAdvised as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The advised action.

CGImageSourceMBS.kCGImagePropertyIPTCByline as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The byline.

CGImageSourceMBS.kCGImagePropertyIPTCBylineTitle as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The byline title.

CGImageSourceMBS.kCGImagePropertyIPTCCaptionAbstract as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The caption abstract.

CGImageSourceMBS.kCGImagePropertyIPTCCategory as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The category.

CGImageSourceMBS.kCGImagePropertyIPTCCity as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The city.

CGImageSourceMBS.kCGImagePropertyIPTCContact as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

Contact information.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoAddress as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

The address portion of the contact information.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoCity as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

The city portion of the contact information.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoCountry as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

The country portion of the contact information.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoEmails as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

Email addresses for the contact.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoPhones as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

Phone numbers for the contact.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoPostalCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

The postal code portion of the contact information.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoStateProvince as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

The state or province for the contact.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoWebURLs as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

Web addresses for the contact.
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCContentLocationCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The content location code.

CGImageSourceMBS.kCGImagePropertyIPTCContentLocationName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The content location name.

CGImageSourceMBS.kCGImagePropertyIPTCCopyrightNotice as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The copyright notice.

CGImageSourceMBS.kCGImagePropertyIPTCCountryPrimaryLocationCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The country primary location code.

CGImageSourceMBS.kCGImagePropertyIPTCCountryPrimaryLocationName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The country primary location name.

CGImageSourceMBS.kCGImagePropertyIPTCCreatorContactInfo as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the key names for the properties.

The creator's contact info. See "IPTC Creator Contact Info Dictionary Keys."
Available in OS X v10.6 and later.

CGImageSourceMBS.kCGImagePropertyIPTCCredit as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

Credit information.

CGImageSourceMBS.kCGImagePropertyIPTCDateCreated as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The date created.

CGImageSourceMBS.kCGImagePropertyIPTCDictionary as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.
Example
// Change rotation in an image file

// files
Var dpath as folderitem = SpecialFolder.Desktop.Child("test.jpg")
Var opath as folderitem = dpath.parent.Child("output.jpg")

// open source
Var imageSource as new cgimagesourcembs(dpath)

// read image
Var img as cgimagembs = imageSource.createimageatindex(0)

// global properties
Var globalprop as dictionary = imageSource.properties
// per image properties
Var p as Dictionary = imageSource.PropertiesAtIndex(0)

Var imageDest as new CGImageDestinationMBS(opath,"public.jpeg",1)

'const orientation = 1 // top left
const orientation = 3 // bottom right

// set globals
imageDest.SetProperties(globalprop)

// now set new orientation
p.value(imageDest.kCGImageDestinationOrientation) = orientation
p.value(imageDest.kCGImageDestinationMergeMetadata) = true

// change tiff dictionary, if present
Var dTIFF as Dictionary = p.lookup(imageSource.kCGImagePropertyTIFFDictionary, nil)
if dTIFF <> nil then
dTIFF.value(imageSource.kCGImagePropertyTIFFOrientation) = orientation
end if

// change iptc dictionary, if present
Var dIPTC as Dictionary = p.lookup(imageSource.kCGImagePropertyIPTCDictionary, nil)
if dIPTC <> nil then
dIPTC.value(imageSource.kCGImagePropertyIPTCImageOrientation) = orientation
end if

// write out image
imageDest.AddImage(img,p)
call imageDest.Finalize

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

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).

CGImageSourceMBS.kCGImagePropertyIPTCDigitalCreationDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The digital creation date.

CGImageSourceMBS.kCGImagePropertyIPTCDigitalCreationTime as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The digital creation time.

CGImageSourceMBS.kCGImagePropertyIPTCEditorialUpdate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

An editorial update.

CGImageSourceMBS.kCGImagePropertyIPTCEditStatus as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The edit status.

CGImageSourceMBS.kCGImagePropertyIPTCExpirationDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The expiration date.

CGImageSourceMBS.kCGImagePropertyIPTCExpirationTime as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The expiration time.

CGImageSourceMBS.kCGImagePropertyIPTCFixtureIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

A fixture identifier.

CGImageSourceMBS.kCGImagePropertyIPTCHeadline as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The headline.

CGImageSourceMBS.kCGImagePropertyIPTCImageOrientation as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The image orientation.

CGImageSourceMBS.kCGImagePropertyIPTCImageType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The image type.

CGImageSourceMBS.kCGImagePropertyIPTCKeywords as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

Keywords

CGImageSourceMBS.kCGImagePropertyIPTCLanguageIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The language identifier.

CGImageSourceMBS.kCGImagePropertyIPTCObjectAttributeReference as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The object attribute.

CGImageSourceMBS.kCGImagePropertyIPTCObjectCycle as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The object cycle.

CGImageSourceMBS.kCGImagePropertyIPTCObjectName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The object name.

CGImageSourceMBS.kCGImagePropertyIPTCObjectTypeReference as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The object type.

CGImageSourceMBS.kCGImagePropertyIPTCOriginalTransmissionReference as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The original transmission reference.

CGImageSourceMBS.kCGImagePropertyIPTCOriginatingProgram as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The originating program.

CGImageSourceMBS.kCGImagePropertyIPTCProgramVersion as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The program version.

CGImageSourceMBS.kCGImagePropertyIPTCProvinceState as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The province or state.

CGImageSourceMBS.kCGImagePropertyIPTCReferenceDate as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 9.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.

The reference date.

Previous items Next items

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...