Tags: Dok11/image
Tags
Version 0.23.12 - Fix a soundness issue affecting the impls of `Pixel::from_slice_mut`. This would previously reborrow the mutable input reference as a shared one but then proceed to construct the mutable result reference from it. While UB according to Rust's memory model, we're fairly certain that no miscompilation can happen with the LLVM codegen in practice. See 5cbe1e6 for more details. - Fix `imageops::blur` panicking when `sigma = 0.0`. It now defaults to `1.0` as all negative values. - Fix re-exporting `png::{CompressionType, FilterType}` to maintain SemVer compatibility with the `0.23` releases. - Add ImageFormat::from_extension - Add copyless DynamicImage to byte slice/vec conversion. - Add bit-depth specific `into_` and `to_` DynamicImage conversion methods. sha256sum: 7ce04077ead78e39ae8610ad26216aed811996b043d47beed5090db674f9e9b5 target/package/image-0.23.12.crate
Release 0.23.11 - The `NeuQuant` implementation is now supplied by `color_quant`. Use of the type defined by this library is discouraged. - The `jpeg` decoder can now downscale images that are decoded by 1,2,4,8. - Optimized the jpeg encoding ~5-15%. - Deprecated the `clamp` function. Use `num-traits` instead. - The ICO decoder now accepts an empty mask. - Fixed an overflow in ICO mask decoding potentially leading to panic. - Added `ImageOutputFormat` for `AVIF` - Updated `tiff` to `0.6` with lzw performance improvements. sha256sum: b4f0a8345b33b082aedec2f4d7d4a926b845cee184cbe78b703413066564431b target/package/image-0.23.11.crate
Release 0.23.10 - Added AVIF encoding capabilities using the `ravif` crate. Please note that the feature targets the latest stable compiler and is not enabled by default. - Added `ImageBuffer::as_raw` to inspect the underlying container. - Updated `gif` to `0.11` with large performance improvements. sha256sum: 985fc06b1304d19c28d5c562ed78ef5316183f2b0053b46763a0b94862373c34 target/package/image-0.23.10.crate
Release 0.23.9
- Introduced correctly capitalized aliases for some scream case types
- Introduced `imageops::{vertical_gradient, horizontal_gradient}` for writing
simple color gradients into an image.
- Sped up methods iterating over `Pixels`, `PixelsMut`, etc. by using exact
chunks internally. This should auto-vectorize `ImageBuffer::from_pixel`.
- Adjusted `Clone` impls of iterators to not require a bound on the pixel.
- Add `Debug` impls for iterators where the pixel's channel implements it.
- Add comparison impls for `FilterType`
sha256sum:
974e194911d1f7efe3cd8a8f9db3b767e43536327e899e8bc9a12ef5711b74d2 target/package/image-0.23.9.crate
Release 0.23.7 - Iterators over immutable pixels of `ImageBuffer` can now be cloned - Added a `tga` encoder - Added `ColorMap::lookup`, an optional reversal of the map - The `EncodableLayout` trait is now exported sha256sum: a2397fc43bd5648b7117aabb3c5e62d0e62c194826ec77b0b4d0c41e62744635 target/package/image-0.23.7.crate
Release 0.23.6 - Added `png::ApngDecoder`, an adapter decoding the animation in an APNG. - Fixed a bug in `jpeg` encoding that would darken output colors. - Added a utility constructor `FlatSamples::with_monocolor`. - Added `ImageBuffer::as_flat_samples_mut` which is a mutable variant of the existing ffi-helper `ImageBuffer::as_flat_samples`. sha256sum: b5b0553fec6407d63fe2975b794dfb099f3f790bdc958823851af37b26404ab4 target/package/image-0.23.6.crate
Release 0.23.5 - The `png` encoder now allows configuring compression and filter type. The output is not part of stability guarantees, see its documentation. - The `jpeg` encoder now accepts any implementor of `GenericImageView`. This allows images that are only partially present in memory to be encoded. - `ImageBuffer` now derives `Hash`, `PartialEq`, `Eq`. - The `Pixels`/`PixelsMut` iterator no longer yields out-of-bounds pixels when the underlying buffer is larger than required. - The `pbm` decoder correctly decodes ascii data again, fixing a regression where it would use the sample value `1` as white instead of `255`. - Fix encoding of RGBA data in `gif` frames. - Constructing a `Rows`/`RowsMut` iterator no longer panics when the image has a width or height of `0`. sha256sum: d534e95ad8b9d5aa614322d02352b4f1bf962254adcf02ac6f2def8be18498e8 target/package/image-0.23.5.crate
Release 0.23.4 - Improved the performance of decoding animated gifs - Added `crop_imm` which functions like `crop` but on a shared reference - The gif `DisposalMethod::Any` is treated as `Keep`, consistent with browsers - Most errors no longer allocate a string, instead implement Display. - Add some implementations of `Error::source` sha256sum: 9117f4167a8f21fa2bb3f17a652a760acd7572645281c98e3b612a26242c96ee target/package/image-0.23.4.crate
Release 0.23.3 - Added `ColorType::has_alpha` to facilitate lossless conversion - Recognize extended WebP formats for decoding - Added decoding and encoding for the `farbfeld` format - Export named iterator types created from various `ImageBuffer` methods - Error in jpeg encoder for images larger than 65536 pixels, fixes panic sha256sum bfc5483f8d5afd3653b38a196c52294dcb239c3e1a5bade1990353ea13bcf387 target/package/image-0.23.3.crate
PreviousNext