Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGImageSourceMBS class.

Previous items Next items

CGImageSourceMBS.kCGImagePropertyHEICSCanvasPixelHeight as string

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

CGImageSourceMBS.kCGImagePropertyHEICSCanvasPixelWidth as string

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

CGImageSourceMBS.kCGImagePropertyHEICSDelayTime as string

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

CGImageSourceMBS.kCGImagePropertyHEICSDictionary as string

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

CGImageSourceMBS.kCGImagePropertyHEICSFrameInfoArray as string

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

CGImageSourceMBS.kCGImagePropertyHEICSLoopCount as string

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

CGImageSourceMBS.kCGImagePropertyHEICSUnclampedDelayTime as string

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

CGImageSourceMBS.kCGImagePropertyHEIFDictionary as string

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

CGImageSourceMBS.kCGImagePropertyHeight as string

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

CGImageSourceMBS.kCGImagePropertyImageCount as string

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

CGImageSourceMBS.kCGImagePropertyImageIndex as string

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

CGImageSourceMBS.kCGImagePropertyImages as string

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

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.kCGImagePropertyIPTCExtAboutCvTerm as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtAboutCvTermCvId as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtAboutCvTermId as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtAboutCvTermName as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtAboutCvTermRefinedAbout as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtAddlModelInfo as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtArtworkCircaDateCreated as string

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

CGImageSourceMBS.kCGImagePropertyIPTCExtArtworkContentDescription as string

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

Previous items Next items

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


The biggest plugin in space...