Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGImageSourceMBS class.
CGImageSourceMBS.kCGImageSourceShouldCache as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies whether the image should be cached in a decoded form. The value of this key must be a Boolean; the default value is False.
CGImageSourceMBS.kCGImageSourceShouldCacheImmediately as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 17.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies whether image decoding and caching should happen at image creation time.
The value of this key must be a boolean. The default value is kCFBooleanFalse (image decoding will happen at rendering time).
CGImageSourceMBS.kCGImageSourceThumbnailMaxPixelSize as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies the maximum width and height in pixels of a thumbnail. If this this key is not specified, the width and height of a thumbnail is not limited and thumbnails may be as big as the image itself. If present, this value of this key must be an Integer.
Some examples using this method:
CGImageSourceMBS.kCGImageSourceTypeIdentifierHint as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies the "best guess" of the type identifier for the format of the image source file. If specified, the value of this key must be a String. For more information about type identifiers, see "UTType.h" in the Application Services framework.
CGImageSourceMBS.TypeIdentifiers as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns an array of the UTIs that are supported for image sources.
See Uniform Type Identifiers Overview for a list of system-declared and third-party UTIs.
Available in Mac OS X version 10.4 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.