Skip to content

v0.7

Compare
Choose a tag to compare
@jay3332 jay3332 released this 23 Nov 15:15
· 78 commits to main since this release
5d14dee

v0.7 (2022-11-22)

Breaking changes

  • ImageSequence::first_frame now returns Option<&Frame> instead of &Frame.
    • Also introduces new first_frame_mut and first_frame[_mut]_unchecked methods.

Other changes

  • Add crate-level support for image quantization
    • The new quantize feature enables the color_quant dependency for more complex quantization algorithms
      This is enabled by default, mainly because color_quant appears to not pull any additional dependencies
    • Quantizer struct can handle direct quantization of raw pixel data
    • Image::quantize is a higher-level method that can quantize an image into a paletted image
    • Implement From<Image<Rgb[a]>> for Image<PalettedRgb[a]> which utlizes quantization
  • Fix decoding bug for JPEG images with L pixels