---
title: imageTypes
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsimagerep/imagetypes
---

# imageTypes

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

## Declaration

```swift
class var imageTypes: [String] { get }
```

## Return Value

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

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 Types for Images

- [canInit(with:)](appkit/nsimagerep/caninit(with:)-6zv56.md)
- [canInit(with:)](appkit/nsimagerep/caninit(with:)-56pum.md)
- [imageUnfilteredTypes](appkit/nsimagerep/imageunfilteredtypes.md)
- [imageFileTypes()](appkit/nsimagerep/imagefiletypes().md)
- [imagePasteboardTypes()](appkit/nsimagerep/imagepasteboardtypes().md)
- [imageUnfilteredFileTypes()](appkit/nsimagerep/imageunfilteredfiletypes().md)
- [imageUnfilteredPasteboardTypes()](appkit/nsimagerep/imageunfilteredpasteboardtypes().md)
