localizedName(forTIFFCompressionType:)
Returns an autoreleased string containing the localized name for the specified compression type.
Declaration
class func localizedName(forTIFFCompressionType compression: NSBitmapImageRep.TIFFCompression) -> String?Parameters
- compression:
A TIFF compression type. For more information, see the constants in Tiffcompression.
Return Value
A localized name for compression or nil if compression is unrecognized.
Discussion
When implementing a user interface for selecting TIFF compression types, use getTIFFCompressionTypes(_:count:) to get the list of supported compression types, then use this method to get the localized names for each compression type.