Sets the receiver’s compression type and compression factor.
- macOS 10.0+
enumconstant that identifies one of the supported compression types as described in
Image Rep .TIFFCompression
A floating point value that is specific to the compression type. Many types of compression don’t support varying degrees of compression and thus ignore
factor. JPEG compression allows a compression factor ranging from 0.0 to 1.0, with 0.0 being the lowest and 1.0 being the highest.
NSBitmap is created, the instance stores the compression type and factor for the source data. The
tiff property and
tiff class method try to use the stored compression type and factor. Use this method to change the compression type and factor.