imageFileTypes()
Returns the file types supported by the image representation class or one of its subclasses.
Declaration
class func imageFileTypes() -> [String]Return Value
An array of NSString objects, each of which contains a filename extension or HFS file type of a supported format.
Discussion
The list includes both those types returned by the imageUnfilteredFileTypes() class method plus those that can be converted to a supported type by a user-installed filter service. The returned file types can include encoded HFS file types as well as filename extensions.
Don’t override this method when subclassing NSImageRep—it always returns a valid list for any subclass of NSImageRep that correctly overrides the imageUnfilteredFileTypes() method.