image v0.22 Release Notes
-
- The required Rust version is now
1.34.2
. - Note the website and blog: image-rs.org and blog.image-rs.org
- ๐
PixelMut
now only onImageBuffer
and removed fromGenericImage
interface. Prefer iterating manually in the generic case. - Replaced an unsafe interface in the hdr decoder with a safe variant.
- ๐ Support loading 2-bit BMP images
- โ Add method to save an
ImageBuffer
/DynamicImage
with specified format - โก๏ธ Update tiff to
0.3
with a writer - โก๏ธ Update png to
0.15
, fixes reading of interlaced sub-byte pixels - Always use custom struct for
ImageDecoder::Reader
- Added
apply_without_alpha
andmap_without_alpha
toPixel
trait - Pixel information now with associated constants instead of static methods
- ๐ Changed color structs to tuple types with single component. Improves ergonomics of destructuring assignment and construction.
- โ Add lifetime parameter on
ImageDecoder
trait. - โ Remove unnecessary
'static
bounds on affine operations - โ Add function to retrieve image dimensions without loading full image
- ๐ Allow different image types in overlay and replace
- Iterators over rows of
ImageBuffer
, mutable variants
- The required Rust version is now