Expand description
Transforming a decompressed, unfiltered row into the final output.
Modulesยง
- palette ๐
- Helpers for taking a slice of indices (indices into
PLTE
and/ortrNS
entries) and transforming this into RGB or RGBA output.
Functionsยง
- copy_
row ๐ - create_
transform_ fn - Returns a transformation function that should be applied to image rows based
on 1) decoded image metadata (
info
) and 2) the transformations requested by the crate client (transform
). - expand_
gray_ ๐u8 - expand_
gray_ ๐u8_ with_ trns - expand_
trns_ ๐and_ strip_ line16 - expand_
trns_ ๐line - expand_
trns_ ๐line16 - transform_
row_ ๐strip16 - unpack_
bits ๐
Type Aliasesยง
- Transform
Fn - Type of a function that can transform a decompressed, unfiltered row (the 1st argument) into the final pixels (the 2nd argument), optionally using image metadata (e.g. PLTE data can be accessed using the 3rd argument).