Type Method

localizedNameForTIFFCompressionType:

Returns an autoreleased string containing the localized name for the specified compression type.

Declaration

+ (NSString *)localizedNameForTIFFCompressionType:(NSTIFFCompression)compression;

Parameters

compression

A TIFF compression type. For more information, see the constants in NSTIFFCompression.

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.

See Also

Managing Compression Types

+ getTIFFCompressionTypes:count:

Returns by indirection an array of all available compression types that can be used when writing a TIFF image.

- canBeCompressedUsing:

Tests whether the receiver can be compressed by the specified compression scheme.

- setCompression:factor:

Sets the receiver’s compression type and compression factor.

- getCompression:factor:

Returns by indirection the receiver’s compression type and compression factor.

- setProperty:withValue:

Sets the image’s property to value.

- valueForProperty:

Returns the value for the specified property.

NSTIFFCompression

Constants representing the supported TIFF data-compression schemes.