Returns a data object containing TIFF data with the specified compression settings for all of the image representations in the receiver.
Original signature is '- (NSData *)TIFFRepresentationUsingCompression:(NSTIFFCompression)comp factor:(float)aFloat'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSData TIFFRepresentationUsingCompressionFactor( NSTIFFCompression comp, float aFloat )
Public Overridable Function TIFFRepresentationUsingCompressionFactor ( _ comp As NSTIFFCompression, _ aFloat As Single _ ) As NSData
public: virtual NSData^ TIFFRepresentationUsingCompressionFactor( NSTIFFCompression comp, float aFloat )
Parameters
- comp (NSTIFFCompression)
- The type of compression to use. For a list of values, see the constants in NSBitmapImageRep.
- aFloat (Single)
- Provides a hint for compression types that implement variable compression ratios. Currently, only JPEG compression uses a compression factor.
Return Value
A data object containing the TIFF data, or nil if the TIFF data could not be created.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)