Enum image::codecs::png::FilterType [−][src]
pub enum FilterType { NoFilter, Sub, Up, Avg, Paeth, // some variants omitted }
Filter algorithms used to process image data to improve compression.
The default filter is Sub
though this default may change in the future, most notable if an
adaptive encoding option is implemented.
Variants
No processing done, best used for low bit depth greyscale or data with a low color count
Filters based on previous pixel in the same scanline
Filters based on the scanline above
Filters based on the average of left and right neighbor pixels
Algorithm that takes into account the left, upper left, and above pixels
Trait Implementations
impl Clone for FilterType
[src]
impl Clone for FilterType
[src]fn clone(&self) -> FilterType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for FilterType
[src]
impl Default for FilterType
[src]impl PartialEq<FilterType> for FilterType
[src]
impl PartialEq<FilterType> for FilterType
[src]