Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CGImageSource.SupportedTypes

Returns an array of uniform type identifiers (UTIs) that are supported for image sources.

Component Version macOS Windows Linux Server iOS SDK
CGImageSource 3.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "CGImageSource.SupportedTypes" )

Parameters

none

Result

Returns type list.

Description

Returns an array of uniform type identifiers (UTIs) that are supported for image sources.
With macOS 10.15, this list is:
public.jpeg, public.png, com.compuserve.gif, com.canon.tif-raw-image, com.adobe.raw-image, com.dxo.raw-image, com.canon.cr2-raw-image, com.canon.cr3-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.samsung.raw-image, com.sony.raw-image, com.sony.sr2-raw-image, com.sony.arw-raw-image, com.epson.raw-image, com.kodak.raw-image, public.tiff, public.jpeg-2000, com.apple.atx, org.khronos.astc, org.khronos.ktx, public.avci, public.heic, public.heif, com.canon.crw-raw-image, com.fuji.raw-image, com.panasonic.raw-image, com.panasonic.rw2-raw-image, com.leica.raw-image, com.leica.rwl-raw-image, com.konicaminolta.raw-image, com.olympus.sr-raw-image, com.olympus.or-raw-image, com.olympus.raw-image, com.phaseone.raw-image, com.microsoft.ico, com.microsoft.bmp, com.apple.icns, com.adobe.photoshop-image, com.microsoft.cur, com.truevision.tga-image, com.ilm.openexr-image, com.sgi.sgi-image, public.radiance, public.pbm, public.mpo-image, public.pvr, com.microsoft.dds

Examples

Show supported types:

Show Custom Dialog [ "Types" ; MBS( "CGImageSource.SupportedTypes" ) ]

See also

This function checks for a license.

Created 18th August 2014, last changed 10th August 2020


CGImageSource.SupportedExportTypes - CGImageSource.ThumbnailAtIndex