Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGImageSourceMBS class.

Previous items Next items

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.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.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
dim path as string = "/Library/Desktop Pictures/Galaxy.jpg"
dim f as FolderItem = GetFolderItem(path, FolderItem.PathTypeNative)
Dim c As New CGImageSourceMBS(f)

// properties for first image
dim p as Dictionary = c.PropertiesAtIndex(0)
dim w as Integer = p.Value(c.kCGImagePropertyPixelWidth)
dim 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.

CGImageSourceMBS.kCGImagePropertyPixelWidth 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
dim path as string = "/Library/Desktop Pictures/Galaxy.jpg"
dim f as FolderItem = GetFolderItem(path, FolderItem.PathTypeNative)
Dim c As New CGImageSourceMBS(f)

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

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

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

CGImageSourceMBS.kCGImagePropertyPNGAuthor 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 content is a string that identifies the author of the image.
Available in OS X v10.7 and later.

CGImageSourceMBS.kCGImagePropertyPNGChromaticities 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 Portable Network Graphics (PNG) format.

The chromaticities.

CGImageSourceMBS.kCGImagePropertyPNGCopyright 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 content is a string that identifies the copyright of the image.
Available in OS X v10.7 and later.

CGImageSourceMBS.kCGImagePropertyPNGCreationTime 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 content is a string that identifies the date and time the image was created.
Available in OS X v10.7 and later.

CGImageSourceMBS.kCGImagePropertyPNGDescription 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 content is a string that describes the image.
Available in OS X v10.7 and later.

CGImageSourceMBS.kCGImagePropertyPNGDictionary 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 Portable Network Graphics (PNG) format.

CGImageSourceMBS.kCGImagePropertyPNGGamma 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 Portable Network Graphics (PNG) format.

The gamma value.

CGImageSourceMBS.kCGImagePropertyPNGInterlaceType 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 Portable Network Graphics (PNG) format.

The interlace type.

CGImageSourceMBS.kCGImagePropertyPNGModificationTime 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 content is a string that identifies the last date and time the image was modified.
Available in OS X v10.7 and later.

CGImageSourceMBS.kCGImagePropertyPNGSoftware 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 content is a string that identifies the software used to create the image.
Available in OS X v10.7 and later.

CGImageSourceMBS.kCGImagePropertyPNGsRGBIntent 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 Portable Network Graphics (PNG) format.

The sRGB intent.

CGImageSourceMBS.kCGImagePropertyPNGTitle 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 content is a string that holds the image's title.
Available in OS X v10.7 and later.

Previous items Next items

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


💬 Ask a question or report a problem
The biggest plugin in space...