Type Property

imageTypes

Returns an array of UTI strings identifying the image types supported by the receiver, either directly or through a user-installed filter service.

Declaration

@property(class, readonly, copy) NSArray<NSString *> *imageTypes;

Return Value

An array of NSString objects, each of which contains a UTI identifying a supported image type. Some sample image-related UTI strings include "public.image”, "public.jpeg”, and "public.tiff”. For a list of supported types, see UTCoreTypes.h.

Discussion

The returned list includes UTIs all file types supported by this image representation object plus those that can be opened by this image representation after being converted by a user-installed filter service. You can use the returned UTI strings with any method that supports UTIs.

See Also

Determining the Supported Image Types

+ canInitWithData:

Returns a Boolean value indicating whether the receiver can initialize itself from the specified data.

+ canInitWithPasteboard:

Returns a Boolean value indicating whether the receiver can initialize itself from the data on the specified pasteboard.

imageUnfilteredTypes

Returns an array of UTI strings identifying the image types supported directly by the receiver.

+ imageFileTypes

Returns the file types supported by NSImageRep or one of its subclasses.

Deprecated
+ imagePasteboardTypes

Returns the pasteboard types supported by NSImageRep or one of its subclasses.

Deprecated
+ imageUnfilteredFileTypes

Returns the list of file types supported directly by the receiver.

Deprecated
+ imageUnfilteredPasteboardTypes

Returns the list of pasteboard types supported directly by the receiver.

Deprecated