Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGImageSourceMBS class.

Previous items

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
One of the key names for the properties.

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 uniform type identifiers (UTIs) that are supported for image sources.
Example
dim s(-1) as string = CGImageSourceMBS.TypeIdentifiers

MsgBox Join(s,EndOfLine)

// shows:
//
// public.png
// public.jpeg
// com.compuserve.gif
// public.jpeg-2000
// com.adobe.raw-image
// com.leafamerica.raw-image
// com.hasselblad.fff-raw-image
// com.hasselblad.3fr-raw-image
// com.nikon.raw-image
// com.nikon.nrw-raw-image
// com.pentax.raw-image
// com.sony.sr2-raw-image
// com.sony.arw-raw-image
// com.epson.raw-image
// com.kodak.raw-image
// public.tiff
// com.apple.icns
// com.canon.tif-raw-image
// com.canon.cr2-raw-image
// com.canon.crw-raw-image
// com.fuji.raw-image
// com.panasonic.raw-image
// com.panasonic.rw2-raw-image
// com.panasonic.rwl-raw-image
// com.leica.pwl-raw-image
// com.konicaminolta.raw-image
// com.olympus.raw-image
// com.olympus.raw-image
// com.sony.raw-image
// com.adobe.photoshop-image
// com.adobe.pdf
// com.adobe.illustrator.ai-image
// com.microsoft.ico
// com.microsoft.bmp
// public.xbitmap-image
// com.microsoft.cur
// com.apple.pict
// com.truevision.tga-image
// com.sgi.sgi-image
// com.apple.quicktime-image
// com.kodak.flashpix-image
// com.apple.macpaint-image
// com.ilm.openexr-image
// public.radiance

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.

Previous 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...