ExPng.Image.Filtering (ExPng v0.2.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

unfilter(line, pixel_size, prev_line \\ nil)

Specs

Passes a line of filtered pixel data through a filtering algorithm based on its filter type, and returns the unfiltered original data.