Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

CGImageSourceMBS.kCGImagePropertyGPSTimeStamp as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that has Global Positioning System (GPS) information.
Notes: The time as UTC (Coordinated Universal Time).

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyGPSTrack as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that has Global Positioning System (GPS) information.
Notes: The direction of GPS receiver movement.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyGPSTrackRef as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that has Global Positioning System (GPS) information.
Notes: The reference for the direction of GPS receiver movement.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyGPSVersion as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that has Global Positioning System (GPS) information.
Notes: The version.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyHasAlpha as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes: Whether or not the image has an alpha channel. The value of this key is kCFBooleanTrue if the image contains an alpha channel.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCActionAdvised as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The advised action.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCByline as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The byline.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCBylineTitle as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The byline title.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCaptionAbstract as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The caption abstract.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCategory as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The category.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCity as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The city.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContact as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: Contact information.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoAddress as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
The address portion of the contact information.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoCity as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
The city portion of the contact information.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoCountry as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
The country portion of the contact information.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoEmails as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
Email addresses for the contact.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoPhones as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
Phone numbers for the contact.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoPostalCode as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
The postal code portion of the contact information.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoStateProvince as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
The state or province for the contact.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContactInfoWebURLs as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
Web addresses for the contact.
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContentLocationCode as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The content location code.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCContentLocationName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The content location name.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCopyrightNotice as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The copyright notice.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCountryPrimaryLocationCode as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The country primary location code.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCountryPrimaryLocationName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The country primary location name.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCreatorContactInfo as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 13.1 Yes No No Yes, macOS only No
Function: One of the key names for the properties.
Notes:
The creator's contact info. See "IPTC Creator Contact Info Dictionary Keys."
Available in OS X v10.6 and later.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCCredit as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: Credit information.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCDateCreated as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The date created.

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCDictionary as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Example:
// Change rotation in an image file

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

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

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

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

dim 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
dim dTIFF as Dictionary = p.lookup(imageSource.kCGImagePropertyTIFFDictionary, nil)
if dTIFF <> nil then
dTIFF.value(imageSource.kCGImagePropertyTIFFOrientation) = orientation
end if

// change iptc dictionary, if present
dim 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
Notes:
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).

Feedback, Comments & Corrections

CGImageSourceMBS.kCGImagePropertyIPTCDigitalCreationDate as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 9.5 Yes No No Yes, macOS only No
Function: Keys for an image that uses International Press Telecommunications Council (IPTC) metadata.
Notes: The digital creation date.

Feedback, Comments & Corrections

Previous items Next items

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

The biggest plugin in space...




Links
MBS Xojo PDF Plugins