StaticcanChecks if the decode parameters can be handled by this predictor.
OptionaldecodeParms: PdfDictionary<PdfDictionaryEntries>Optional PDF dictionary containing decode parameters.
True if the parameters can be handled, false otherwise.
StaticdecodeDecodes data that was encoded with a predictor.
The encoded data to decode.
Optional decode parameters including Predictor, Columns, Colors, and BitsPerComponent.
The decoded byte array.
StaticencodeEncodes data using a predictor algorithm.
The data to encode.
Optional encode parameters including Predictor, Columns, Colors, and BitsPerComponent.
The PNG filter type to use for encoding.
The encoded byte array.
StaticgetExtracts decode parameters from a PDF dictionary.
OptionaldecodeParms: PdfDictionary<PdfDictionaryEntries>Optional PDF dictionary containing decode parameters.
The decode parameters object or null if not applicable.
StaticpngStaticpngStatictiffStatictiff
Handles PNG and TIFF predictor encoding and decoding for PDF streams. Predictors are used to improve compression efficiency by transforming image data before or after compression.