Update Rust crate image to 0.25.8 #567

Merged
renovate merged 1 commits from renovate/image-0.x into master 2025-09-07 00:33:55 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
image dependencies patch 0.25.6 -> 0.25.8

Release Notes

image-rs/image (image)

v0.25.8

Compare Source

v0.25.7

Compare Source

Features:

  • Added an API for external image format implementations to register themselves as decoders for a specific format in image (#​2372)
  • Added CICP awarenes via moxcms to support color spaces (#​2531). The support for transforming is limited for now and will be gradually expanded.
  • You can now embed Exif metadata when writing JPEG, PNG and WebP images (#​2537, #​2539)
  • Added functions to extract orientation from Exif metadata and optionally clear it in the Exif chunk (#​2484)
  • Serde support for more types (#​2445)
  • PNM encoder now supports writing 16-bit images (#​2431)

API improvements:

  • save, save_with_format, write_to and write_with_encoder methods on DynamicImage now automatically convert the pixel format when necessary instead of returning an error (#​2501)
  • Added DynamicImage::has_alpha() convenience method
  • Implemented TryFrom<ExtendedColorType> for ColorType (#​2444)
  • Added const HAS_ALPHA to trait Pixel
  • Unified the error for unsupported encoder colors (#​2543)
  • Added a hooks module to customize builtin behavior, register_format_detection_hook and register_decoding_hook for the determining format of a file and selecting an ImageDecoder implementation respectively. (#​2372)

Performance improvements:

  • Gaussian blur (#​2496) and box blur (#​2515) are now faster
  • Improve compilation times by avoiding unnecessary instantiation of generic functions (#​2468, #​2470)

Bug fixes:

  • Many improvements to image format decoding: TIFF, WebP, AVIF, PNG, GIF, BMP, TGA
  • Fixed GifEncoder::encode() ignoring the speed parameter and always using the slowest speed (#​2504)
  • .pnm is now recognized as a file extension for the PNM format (#​2559)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [image](https://github.com/image-rs/image) | dependencies | patch | `0.25.6` -> `0.25.8` | --- ### Release Notes <details> <summary>image-rs/image (image)</summary> ### [`v0.25.8`](https://github.com/image-rs/image/compare/v0.25.7...v0.25.8) [Compare Source](https://github.com/image-rs/image/compare/v0.25.7...v0.25.8) ### [`v0.25.7`](https://github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0257) [Compare Source](https://github.com/image-rs/image/compare/v0.25.6...v0.25.7) Features: - Added an API for external image format implementations to register themselves as decoders for a specific format in `image` ([#&#8203;2372](https://github.com/image-rs/image/issues/2372)) - Added [CICP](https://www.color.org/iccmax/download/CICP_tag_and_type_amendment.pdf) awarenes via [moxcms](https://crates.io/crates/moxcms) to support color spaces ([#&#8203;2531](https://github.com/image-rs/image/issues/2531)). The support for transforming is limited for now and will be gradually expanded. - You can now embed Exif metadata when writing JPEG, PNG and WebP images ([#&#8203;2537](https://github.com/image-rs/image/issues/2537), [#&#8203;2539](https://github.com/image-rs/image/issues/2539)) - Added functions to extract orientation from Exif metadata and optionally clear it in the Exif chunk ([#&#8203;2484](https://github.com/image-rs/image/issues/2484)) - Serde support for more types ([#&#8203;2445](https://github.com/image-rs/image/issues/2445)) - PNM encoder now supports writing 16-bit images ([#&#8203;2431](https://github.com/image-rs/image/issues/2431)) API improvements: - `save`, `save_with_format`, `write_to` and `write_with_encoder` methods on `DynamicImage` now automatically convert the pixel format when necessary instead of returning an error ([#&#8203;2501](https://github.com/image-rs/image/issues/2501)) - Added `DynamicImage::has_alpha()` convenience method - Implemented `TryFrom<ExtendedColorType>` for `ColorType` ([#&#8203;2444](https://github.com/image-rs/image/issues/2444)) - Added `const HAS_ALPHA` to trait `Pixel` - Unified the error for unsupported encoder colors ([#&#8203;2543](https://github.com/image-rs/image/issues/2543)) - Added a `hooks` module to customize builtin behavior, `register_format_detection_hook` and `register_decoding_hook` for the determining format of a file and selecting an `ImageDecoder` implementation respectively. ([#&#8203;2372](https://github.com/image-rs/image/issues/2372)) Performance improvements: - Gaussian blur ([#&#8203;2496](https://github.com/image-rs/image/issues/2496)) and box blur ([#&#8203;2515](https://github.com/image-rs/image/issues/2515)) are now faster - Improve compilation times by avoiding unnecessary instantiation of generic functions ([#&#8203;2468](https://github.com/image-rs/image/issues/2468), [#&#8203;2470](https://github.com/image-rs/image/issues/2470)) Bug fixes: - Many improvements to image format decoding: TIFF, WebP, AVIF, PNG, GIF, BMP, TGA - Fixed `GifEncoder::encode()` ignoring the speed parameter and always using the slowest speed ([#&#8203;2504](https://github.com/image-rs/image/issues/2504)) - `.pnm` is now recognized as a file extension for the PNM format ([#&#8203;2559](https://github.com/image-rs/image/issues/2559)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny43IiwidXBkYXRlZEluVmVyIjoiNDEuOTcuNyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate added 1 commit 2025-09-07 00:33:55 +00:00
Update Rust crate image to 0.25.8
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
7e4f5cee9d
renovate scheduled this pull request to auto merge when all checks succeed 2025-09-07 00:33:55 +00:00
renovate merged commit 975ac224d4 into master 2025-09-07 00:33:55 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/GeneIT#567
No description provided.