Instance Property

TIFFRepresentation

A TIFF representation of the bitmap image data.

Declaration

@property(readonly, copy) NSData *TIFFRepresentation;

Discussion

Accessing this property results in a call to the TIFFRepresentationUsingCompression: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, NSTIFFCompressionNEXT), the stored compression is changed to NSTIFFCompressionNone before calling the TIFFRepresentationUsingCompression: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.

See Also

Producing Representations of the Image

+ TIFFRepresentationOfImageRepsInArray:

Returns a TIFF representation of the given images

+ TIFFRepresentationOfImageRepsInArray:usingCompression:factor:

Returns a TIFF representation of the given images using a specified compression scheme and factor.

- TIFFRepresentationUsingCompression:factor:

Returns a TIFF representation of the image using the specified compression.

+ representationOfImageRepsInArray:usingType:properties:

Formats the specified bitmap images using the specified storage type and properties and returns them in a data object.

- representationUsingType:properties:

Formats the receiver’s image data using the specified storage type and properties and returns it in a data object.

NSDrawBitmap

Draws a bitmap image.