Unified gif blending in different decode methods, fixing out-of-bounds checks
in a number of weirdly positioned frames.
Hardened TGA decoder against a number of malicious inputs.
Fix forward incompatible usage of the panic macro.
Fix load_rect for gif reaching unreachable!() code.
Added ExtendedColorType::A8.
Allow TGA to load alpha-only images.
Optimized load_rect to avoid unnecessary seeks.
Version 0.23.13
Fix an inconsistency in supported formats of different methods for encoding
an image.
Fix thumbnail choosing an empty image. It now always prefer non-empty image
dimensions.
Fix integer overflow in calculating requires bytes for decoded image buffers
for farbfeld, hdr, and pnm decoders. These will now error early.
Fix a panic decoding certain jpeg image without frames or meta data.
Optimized the jpeg encoder.
Optimized GenericImage::copy_from default impl in various cases.
Add avif decoders. You must enable it explicitly and it is not covered by
our usual MSRV policy of Rust 1.34. Instead, only latest stable is supported.
Add ImageFormat::{can_read, can_write}
Add Frame::buffer_mut
Add speed and quality options on avif encoder.
Add speed parameter to gif encoder.
Expose control over sequence repeat to the gif encoder.
Add {contrast,brighten,huerotate}_in_place functions in imageproc.
Relax Default impl of ImageBuffer, removing the bound on the color type.
Derive Debug, Hash, PartialEq, Eq for DynamicImage
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 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.
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/Nercury/rust-and-opengl-lessons/network/alerts).
Bumps image from 0.20.1 to 0.23.1.
Changelog
Sourced from image's changelog.
... (truncated)
Commits
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/Nercury/rust-and-opengl-lessons/network/alerts).