TIFFPredictor
Objective-C
@interface TIFFPredictor : NSObject
Swift
class TIFFPredictor : NSObject
Differencing Predictor decoder
-
Decode the predictor encoded bytes
Declaration
Objective-C
+ (NSData *)decodeData:(NSData *)data withPredictor:(int)predictor andWidth:(int)width andHeight:(int)height andBitsPerSample:(NSArray<NSNumber *> *)bitsPerSample andPlanarConfiguration:(int)planarConfiguration;Swift
class func decode(_ data: Data!, withPredictor predictor: Int32, andWidth width: Int32, andHeight height: Int32, andBitsPerSample bitsPerSample: [NSNumber]!, andPlanarConfiguration planarConfiguration: Int32) -> Data!Parameters
datadata to decode
predictorpredictor value
widthtile width
heighttile height
bitsPerSamplebits per samples
planarConfigurationplanar configuration
Return Value
decoded or original bytes
View on GitHub
TIFFPredictor Class Reference