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 5cbe1e6767d11aff3f14c7ad69a06b04e8d583c7 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.
Version 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.
Version 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.
Version 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
Version 0.23.8
... (truncated)
Commits
07b0b85 Update release notes and meta data for 0.23.12
b99a2a9 Merge pull request #1368 from fintelia/bug-1365
28ac73e Merge pull request #1362 from Mike-Neto/master
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 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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/blenderskool/pigmnts/network/alerts).
Bumps image from 0.23.2 to 0.23.12.
Changelog
Sourced from image's changelog.
... (truncated)
Commits
07b0b85
Update release notes and meta data for 0.23.12b99a2a9
Merge pull request #1368 from fintelia/bug-136528ac73e
Merge pull request #1362 from Mike-Neto/master229a687
Fix bug 1365cd4c57a
Fixes #983. blur 0.0 panic085300e
Merge pull request #1361 from a1phyr/format_from_extensionb6507cf
Add examples3843286
Make ImageFormat::from_extension take an &OsStrfa37687
AddImageFormat::from_extension
e0261ce
Merge pull request #1358 from HeroicKatora/fix-mutability-provenance-of-pixelsDependabot 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 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/blenderskool/pigmnts/network/alerts).