Type Alias Predictor

pub type Predictor = Predictor;

Type of prediction to prepare the image with.

Image data can be very unpredictable, and thus very hard to compress. Predictors are simple passes ran over the image data to prepare it for compression. This is mostly used for LZW compression, where using [Predictor::Horizontal] we see a 35% improvement in compression ratio over the unpredicted compression !

[Predictor::FloatingPoint] is currently not supported.