tiffRepresentation
A TIFF representation of the bitmap image data.
Declaration
var tiffRepresentation: Data? { get }Discussion
Accessing this property results in a call to the tiffRepresentation(using:factor:) method using the stored compression type and factor retrieved from the initial image data or changed using the setCompression(_:factor:) method. If the stored compression type isn’t supported for writing TIFF data (for example, NSBitmapImageRep.TIFFCompression.next), the stored compression is changed to NSBitmapImageRep.TIFFCompression.none before calling the tiffRepresentation(using:factor:) method using the compression that’s returned by getCompression(_:factor:) (if applicable).
If a problem is encountered during generation of the TIFF, an NSTIFFException or an NSBadBitmapParametersException is raised.