FooIbar / EhViewer

EhViewer overhauled with Material Design 3 and more, forked from https://github.com/Ehviewer-Overhauled/Ehviewer
GNU General Public License v3.0
2.47k stars 94 forks source link

Update Rust crate image to 0.25 #1625

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
image dependencies minor 0.24 -> 0.25

Release Notes

image-rs/image (image) ### [`v0.25.2`](https://redirect.github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0252) [Compare Source](https://redirect.github.com/image-rs/image/compare/v0.25.1...v0.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. ### [`v0.25.1`](https://redirect.github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0251) [Compare Source](https://redirect.github.com/image-rs/image/compare/v0.25.0...v0.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. - Add nasm feature to optionally enable faster AVIF encoding. ### [`v0.25.0`](https://redirect.github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0250) [Compare Source](https://redirect.github.com/image-rs/image/compare/v0.24.9...v0.25.0) Breaking changes: - Added `BufRead` + `Seek` bound on many decoders. - Use `ExtendedColorType` instead of `ColorType` when encoding. - Removed `ImageOutputFormat`, `GenericImageView::bounds`, and several other deprecated items. - Removed incremental decoding support and changed `ImageDecoder` so the trait is object safe. - Pixel types are now `repr(transparent)` rather than `repr(C)`. - Made color_quant dependency optional. - Renamed some feature flags. Structural changes: - Increased MSRV to 1.67.1 Codec changes: - Switched to image-webp for WebP encoding. - Switched to zune-jpeg for JPEG decoding. - Made the HDR decoder produce f32 images. - Removed DXT encoding and decoding support.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate[bot] commented 1 month ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.25). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.