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.
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)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps image from 0.25.2 to 0.25.4.
Changelog
Sourced from image's changelog.
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