Repository navigation
v0.2.2
Better support for RGBA images and new rotation utility.
Added
- Support for loading and decoding RGBA images (4 channels).
Dither.to_rgb/1andDither.to_rgb!/1to convert images to RGB8.Dither.rotate/2andDither.rotate!/2to rotate images (90, 180, 270 degrees).- Explicit channel count check in
Dither.dither/2.
Changed
Dither.dither/2now returns{:error, :unsupported_channel_count}if an
RGBA image is provided without conversion.