Update Rust crate image to v0.25.4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
image | dependencies | patch |
0.25.2 -> 0.25.4
|
Release Notes
image-rs/image (image)
v0.25.4
Features:
- Much faster decoding of lossless WebP due to a variety of optimizations. Our benchmarks show 2x to 2.5x improvement.
- Added support for orientation metadata, so that e.g. smartphone camera images could be displayed correctly:
- Added
ImageDecoder::orientation()
and implemented orientation metadata extraction for JPEG, WebP and TIFF formats - Added
DynamicImage::apply_orientation()
to apply the orientation to an image
- Added
- Added support for extracting Exif metadata from images via
ImageDecoder::exif_metadata()
, and implemented it for JPEG and WebP formats - Added
ImageEncoder::set_icc_profile()
and implemented it for WebP format. Pull requests with implementations for other formats are welcome. - Added
DynamicImage::fast_blur()
for a linear-time approximation of Gaussian blur, which is much faster at larger blur radii
Bug fixes:
- Fixed some APNG images being decoded incorrectly
- Fixed the iterator over animated WebP frames to return
None
instead of an error when the end of the animation is reached
v0.25.3
Yanked! This version accidentally missed a commit that should have been
included with the release. The Orientation
struct should be in the
appropriate module instead of the top-level. This release won't be supported.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate [bot]