image v0.23.13 Release Notes
-
- ๐ Fix an inconsistency in supported formats of different methods for encoding an image.
- ๐ Fix
thumbnail
choosing an empty image. It now always prefer non-empty image dimensions. - ๐ Fix integer overflow in calculating requires bytes for decoded image buffers for farbfeld, hdr, and pnm decoders. These will now error early.
- ๐ Fix a panic decoding certain
jpeg
image without frames or meta data. - โก๏ธ Optimized the
jpeg
encoder. โก๏ธ Optimized
GenericImage::copy_from
default impl in various cases.โ Add
avif
decoders. You must enable it explicitly and it is not covered by our usual MSRV policy of Rust 1.34. Instead, only latest stable is supported.Add
ImageFormat::{can_read, can_write}
โ Add
Frame::buffer_mut
โ Add speed and quality options on
avif
encoder.โ Add speed parameter to
gif
encoder.๐ฆ Expose control over sequence repeat to the
gif
encoder.Add
{contrast,brighten,huerotate}_in_place
functions in imageproc.0๏ธโฃ Relax
Default
impl ofImageBuffer
, removing the bound on the color type.Derive Debug, Hash, PartialEq, Eq for DynamicImage