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 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
Version 0.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.
Version 0.25.2
Features:
Added the HDR encoder to supported formats in generic write methods with the
hdr feature enabled. Supports 32-bit float RGB color only, for now.
When cloning ImageBuffer, DynamicImage and Frame the existing buffer
will now be reused if possible.
Added image::ImageReader as an alias.
Implement ImageEncoder for HdrEncoder.
Structural changes
Switch from byteorder to byteorder-lite, consolidating some casting
unsafety to bytemuck.
Many methods on DynamicImage and buffers gained #[must_use] indications.
Bug fixes:
Removed test data included in the crate archive.
The WebP animation decoder stops when reaching the indicate frame count.
Fixed bugs in the bmp decoder.
Format support gated on the exr feature now compiles in isolation.
Version 0.25.1
Bug fixes:
Fixed corrupt JPEG output when attempting to encode images containing an alpha
channel.
Only accept ".ff" file extension for farbfeld images.
Correct farbfeld feature flag for ImageFormat::{reading_enabled, writing_enabled}.
Disable strict mode for JPEG decoder.
... (truncated)
Commits
0307a47 Merge pull request #2354 from image-rs/release-0.25.4
ac09ced Propose wording for republishing as 0.25.4
5e6bf4f Merge pull request #2352 from image-rs/changelog-update
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on image to permit the latest version.
Changelog
Sourced from image's changelog.
... (truncated)
Commits
0307a47
Merge pull request #2354 from image-rs/release-0.25.4ac09ced
Propose wording for republishing as 0.25.45e6bf4f
Merge pull request #2352 from image-rs/changelog-update42d1396
Drop incorrect changelog entryd52a194
Merge pull request #2347 from Shnatsel/new-releasefe94eab
Mention lossless WebP improvements5976c19
Merge pull request #2349 from Shnatsel/orientation-in-metadata91a001f
Don't import orientation in doc example693079d
Reword ravif changelog entryfb5799b
Move Orientation to metadata moduleDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show