Skip to content

v0.2.2

Choose a tag to compare

@gworkman gworkman released this 14 Apr 14:59
· 8 commits to main since this release
e912a78

Better support for RGBA images and new rotation utility.

Added

  • Support for loading and decoding RGBA images (4 channels).
  • Dither.to_rgb/1 and Dither.to_rgb!/1 to convert images to RGB8.
  • Dither.rotate/2 and Dither.rotate!/2 to rotate images (90, 180, 270 degrees).
  • Explicit channel count check in Dither.dither/2.

Changed

  • Dither.dither/2 now returns {:error, :unsupported_channel_count} if an
    RGBA image is provided without conversion.