Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGImageSourceMBS class.

Previous items Next items

CGImageSourceMBS.kCGImagePropertyIPTCUrgency 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 urgency level.

CGImageSourceMBS.kCGImagePropertyIPTCWriterEditor 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 writer or editor.

CGImageSourceMBS.kCGImagePropertyIsFloat 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 contains floating-point pixel samples. The value of this key is kCFBooleanTrue if the image contains them.

CGImageSourceMBS.kCGImagePropertyIsIndexed 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 contains indexed pixel samples (sometimes called paletted samples). The value of this key is kCFBooleanTrue if the image contains them.

CGImageSourceMBS.kCGImagePropertyJFIFDensityUnit 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 JPEG File Interchange Format (JFIF).

The density unit.

CGImageSourceMBS.kCGImagePropertyJFIFDictionary 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.

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

CGImageSourceMBS.kCGImagePropertyJFIFIsProgressive 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 JPEG File Interchange Format (JFIF).

Whether or not the image is progressive.

CGImageSourceMBS.kCGImagePropertyJFIFVersion 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 JPEG File Interchange Format (JFIF).

The version.

CGImageSourceMBS.kCGImagePropertyJFIFXDensity 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 JPEG File Interchange Format (JFIF).

The x density.

CGImageSourceMBS.kCGImagePropertyJFIFYDensity 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 JPEG File Interchange Format (JFIF).

The y density.

CGImageSourceMBS.kCGImagePropertyMakerAppleDictionary 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.kCGImagePropertyMakerCanonAspectRatioInfo 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.

The image aspect ratio.

CGImageSourceMBS.kCGImagePropertyMakerCanonCameraSerialNumber 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.

The camera serial number.

CGImageSourceMBS.kCGImagePropertyMakerCanonContinuousDrive 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.

The presence of a continuous drive.

CGImageSourceMBS.kCGImagePropertyMakerCanonDictionary 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.

A dictionary of key-value pairs for an image from a Canon camera.
Available in Mac OS X v10.5 and later.

CGImageSourceMBS.kCGImagePropertyMakerCanonFirmware 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.

The firmware version.

CGImageSourceMBS.kCGImagePropertyMakerCanonFlashExposureComp 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.

The flash exposure compensation.

CGImageSourceMBS.kCGImagePropertyMakerCanonImageSerialNumber 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.

The image serial number.

CGImageSourceMBS.kCGImagePropertyMakerCanonLensModel 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.

The lens model.

CGImageSourceMBS.kCGImagePropertyMakerCanonOwnerName 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.

The owner name.

CGImageSourceMBS.kCGImagePropertyMakerFujiDictionary 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.

A dictionary of key-value pairs for an image from a Fuji camera.
Available in Mac OS X v10.5 and later.

CGImageSourceMBS.kCGImagePropertyMakerMinoltaDictionary 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.

A dictionary of key-value pairs for an image from a Minolta camera.
Available in Mac OS X v10.5 and later.

CGImageSourceMBS.kCGImagePropertyMakerNikonCameraSerialNumber 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 from a Nikon camera.

The camera serial number.

CGImageSourceMBS.kCGImagePropertyMakerNikonColorMode 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 from a Nikon camera.

The color mode.

CGImageSourceMBS.kCGImagePropertyMakerNikonDictionary 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.

A dictionary of key-value pairs for an image from a Nikon camera.
Available in Mac OS X v10.5 and later.

CGImageSourceMBS.kCGImagePropertyMakerNikonDigitalZoom 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 from a Nikon camera.

The digital zoom setting.

CGImageSourceMBS.kCGImagePropertyMakerNikonFlashExposureComp 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 from a Nikon camera.

The flash exposure compensation.

CGImageSourceMBS.kCGImagePropertyMakerNikonFlashSetting 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 from a Nikon camera.

The flash setting.

CGImageSourceMBS.kCGImagePropertyMakerNikonFocusDistance 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 from a Nikon camera.

The focus distance.

CGImageSourceMBS.kCGImagePropertyMakerNikonFocusMode 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 from a Nikon camera.

The focus mode.

CGImageSourceMBS.kCGImagePropertyMakerNikonImageAdjustment 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 from a Nikon camera.

Image adjustment setting.

CGImageSourceMBS.kCGImagePropertyMakerNikonISOSelection 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 from a Nikon camera.

The ISO selection.

CGImageSourceMBS.kCGImagePropertyMakerNikonISOSetting 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 from a Nikon camera.

The ISO setting.

CGImageSourceMBS.kCGImagePropertyMakerNikonLensAdapter 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 from a Nikon camera.

The lens adapter.

CGImageSourceMBS.kCGImagePropertyMakerNikonLensInfo 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 from a Nikon camera.

Lens information.

CGImageSourceMBS.kCGImagePropertyMakerNikonLensType 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 from a Nikon camera.

The lens type.

CGImageSourceMBS.kCGImagePropertyMakerNikonQuality 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 from a Nikon camera.

The quality setting.

CGImageSourceMBS.kCGImagePropertyMakerNikonSharpenMode 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 from a Nikon camera.

The sharpening mode.

CGImageSourceMBS.kCGImagePropertyMakerNikonShootingMode 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 from a Nikon camera.

The shooting mode.

CGImageSourceMBS.kCGImagePropertyMakerNikonShutterCount 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 from a Nikon camera.

The shutter count.

CGImageSourceMBS.kCGImagePropertyMakerNikonWhiteBalanceMode 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 from a Nikon camera.

The white balance mode.

CGImageSourceMBS.kCGImagePropertyMakerOlympusDictionary 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.

A dictionary of key-value pairs for an image from a Olympus camera.
Available in Mac OS X v10.5 and later.

CGImageSourceMBS.kCGImagePropertyMakerPentaxDictionary 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.

A dictionary of key-value pairs for an image from a Pentax camera.
Available in Mac OS X v10.5 and later.

CGImageSourceMBS.kCGImagePropertyNamedColorSpace 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.kCGImagePropertyOpenEXRAspectRatio 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.kCGImagePropertyOpenEXRCompression 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.kCGImagePropertyOpenEXRDictionary 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.kCGImagePropertyOrientation 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.

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.

ValueLocation of the origin of the image
1Top, left
2Top, right
3Bottom, right
4Bottom, left
5Left, top
6Right, top
7Right, bottom
8Left, bottom

CGImageSourceMBS.kCGImagePropertyPixelFormat 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.kCGImagePropertyPixelHeight 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
// open an image file
Var path as string = "/Library/Desktop Pictures/Galaxy.jpg"
Var f as FolderItem = GetFolderItem(path, FolderItem.PathTypeNative)
Var c As New CGImageSourceMBS(f)

// properties for first image
Var p as Dictionary = c.PropertiesAtIndex(0)
Var w as Integer = p.Value(c.kCGImagePropertyPixelWidth)
Var h as Integer = p.Value(c.kCGImagePropertyPixelHeight)

// show size
MsgBox str(w)+" x "+str(h)

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

Previous items Next items

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


The biggest plugin in space...