Sets the receiver’s compression type and compression factor.
Original signature is '- (void)setCompression:(NSTIFFCompression)compression factor:(float)factor'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
- compression (NSTIFFCompression)
- An enum constant that identifies one of the supported compression types as described in “Constants.”
- factor (Single)
- 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.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)