TIFFCompressionEncoder

Objective-C

@protocol TIFFCompressionEncoder <NSObject>

Swift

protocol TIFFCompressionEncoder : NSObjectProtocol

Compression Encoder interface

  • True to encode on a per row basis, false to encode on a per block / strip basis

    Declaration

    Objective-C

    - (BOOL)rowEncoding;

    Swift

    func rowEncoding() -> Bool

    Return Value

    true for row encoding

  • Encode the data

    Declaration

    Objective-C

    - (NSData *)encodeData:(NSData *)data withByteOrder:(CFByteOrder)byteOrder;

    Swift

    func encode(_ data: Data!, withByteOrder byteOrder: CFByteOrder) -> Data!

    Parameters

    data

    data to encode

    byteOrder

    data byte order

    Return Value

    encoded data