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 on ImageBuffer and removed from GenericImage 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 and map_without_alpha to Pixel 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