ExPng.Image.Filtering (ExPng v1.0.0)
This module contains code for filtering and defiltering lines of bytestring image data
Link to this section Summary
Functions
Passes a line of filtered pixel data through a filtering algorithm based on its filter type, and returns the unfiltered original data.
Link to this section Types
Link to this type
filtered_line()
Specs
filtered_line() :: {ExPng.filter(), binary()}
Link to this section Functions
Link to this function
apply_filter(line, pixel_size, prev_line \\ nil)
Link to this function
average()
Link to this function
none()
Link to this function
paeth()
Link to this function
sub()
Link to this function
unfilter(line, pixel_size, prev_line \\ nil)
Specs
unfilter( filtered_line(), ExPng.bit_depth(), ExPng.maybe(filtered_line() | binary()) ) :: binary()
Passes a line of filtered pixel data through a filtering algorithm based on its filter type, and returns the unfiltered original data.