Update Rust crate image to 0.24.8 #32

Merged
pierre merged 1 commits from renovate/image-0.x into main 2024-03-15 13:34:01 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
image dependencies patch 0.24.3 -> 0.24.8

Release Notes

image-rs/image (image)

v0.24.8

Compare Source

New features:

  • Added pure-Rust lossless WebP encoding.
  • Added DynamicImage::new method.
  • Added PngDecoder::gamma_value method.
  • Added ImageFormat::{reading_enabled, writing_enabled, all}.
  • TGA encoder now supports RLE encoding.
  • Add rayon parallel iterators behind an optional rayon feature.
  • Support CMYK TIFF images.
  • Implement From for all image types.

Bug fixes:

  • Fix decoding pngs with invalid text chunks.
  • Handle non-fatal error dav1d::Error::Again.
  • Do not round floats in interpolate.
  • PNM decoder now scales samples according to specified maximum.
  • Fix wrong implementation of unsharpen filter.
  • Fix GifDecoder::with_limits to raise an error when limits are exceeded.

v0.24.7

Compare Source

New features:

  • Added {ImageBuffer, DynamicImage}::write_with_encoder to simplify writing
    images with custom settings.
  • Expose ICC profiles stored in tiff and webp files.
  • Added option to set the background color of animated webp images.
  • New methods for sampling and interpolation of GenericImageViews

Bug fixes:

  • Fix panic on empty dxt.
  • Fix several panics in webp decoder.
  • Allow unknown chunks at the end of webp files.

v0.24.6

Compare Source

  • Add support for QOI.
  • ImageDecoders now expose ICC profiles on supported formats.
  • Add support for BMPs without a file header.
  • Improved AVIF encoder.
  • WebP decoding fixes.

v0.24.5

Compare Source

Structural changes:

  • Increased the minimum supported Rust version (MSRV) to 1.61.
  • Increased the version requirement for the tiff crate to 0.8.0.
  • Increased the version requirement for the jpeg crate to 0.3.0.

Bug fixes:

  • The as_rgb32f function of DynamicImage is now correctly documented.
  • Fixed a crash when decoding ICO images. Added a regression test.
  • Fixed a panic when transforming webp images. Added a regression test.
  • Added a check to prevent integer overflow when calculating file size for BMP
    images. The missing check could panic in debug mode or else set an incorrect
    file size in release mode.
  • Upgraded the PNG image encoder to use the newer PngEncoder::write_image
    instead of the deprecated PngEncoder::encode which did not account for byte
    order and could result in images with incorrect colors.
  • Fixed InsufficientMemory error when trying to decode a PNG image.
  • Fix warnings and CI issues.
  • Typos and links in the documentation have been corrected.

Performance:

  • Added check for dynamic image dimensions before resizing. This improves
    performance in cases where the image does not need to be resized or has
    already been resized.

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • 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.24.3` -> `0.24.8` | --- ### Release Notes <details> <summary>image-rs/image (image)</summary> ### [`v0.24.8`](https://github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0248) [Compare Source](https://github.com/image-rs/image/compare/v0.24.7...v0.24.8) New features: - Added pure-Rust lossless WebP encoding. - Added `DynamicImage::new` method. - Added `PngDecoder::gamma_value` method. - Added `ImageFormat::{reading_enabled, writing_enabled, all}`. - TGA encoder now supports RLE encoding. - Add rayon parallel iterators behind an optional `rayon` feature. - Support CMYK TIFF images. - Implement From<DynamicImage> for all image types. Bug fixes: - Fix decoding pngs with invalid text chunks. - Handle non-fatal error dav1d::Error::Again. - Do not round floats in interpolate. - PNM decoder now scales samples according to specified maximum. - Fix wrong implementation of unsharpen filter. - Fix `GifDecoder::with_limits` to raise an error when limits are exceeded. ### [`v0.24.7`](https://github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0247) [Compare Source](https://github.com/image-rs/image/compare/v0.24.6...v0.24.7) New features: - Added `{ImageBuffer, DynamicImage}::write_with_encoder` to simplify writing images with custom settings. - Expose ICC profiles stored in tiff and webp files. - Added option to set the background color of animated webp images. - New methods for sampling and interpolation of `GenericImageView`s Bug fixes: - Fix panic on empty dxt. - Fix several panics in webp decoder. - Allow unknown chunks at the end of webp files. ### [`v0.24.6`](https://github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0246) [Compare Source](https://github.com/image-rs/image/compare/v0.24.5...v0.24.6) - Add support for QOI. - ImageDecoders now expose ICC profiles on supported formats. - Add support for BMPs without a file header. - Improved AVIF encoder. - WebP decoding fixes. ### [`v0.24.5`](https://github.com/image-rs/image/blob/HEAD/CHANGES.md#Version-0245) [Compare Source](https://github.com/image-rs/image/compare/v0.24.4...v0.24.5) Structural changes: - Increased the minimum supported Rust version (MSRV) to 1.61. - Increased the version requirement for the `tiff` crate to 0.8.0. - Increased the version requirement for the `jpeg` crate to 0.3.0. Bug fixes: - The `as_rgb32f` function of `DynamicImage` is now correctly documented. - Fixed a crash when decoding ICO images. Added a regression test. - Fixed a panic when transforming webp images. Added a regression test. - Added a check to prevent integer overflow when calculating file size for BMP images. The missing check could panic in debug mode or else set an incorrect file size in release mode. - Upgraded the PNG image encoder to use the newer `PngEncoder::write_image` instead of the deprecated `PngEncoder::encode` which did not account for byte order and could result in images with incorrect colors. - Fixed `InsufficientMemory` error when trying to decode a PNG image. - Fix warnings and CI issues. - Typos and links in the documentation have been corrected. Performance: - Added check for dynamic image dimensions before resizing. This improves performance in cases where the image does not need to be resized or has already been resized. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNi40MC4zIiwidXBkYXRlZEluVmVyIjoiMzcuMTMwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
pierre changed title from Update Rust crate image to 0.24.7 to Update Rust crate image to 0.24.8 2024-01-14 00:26:47 +00:00
pierre force-pushed renovate/image-0.x from 59f41a2d1a to 46112654c5 2024-01-14 00:26:48 +00:00 Compare
Author
Owner

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.

### 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.
pierre merged commit 9465100aa8 into main 2024-03-15 13:34:01 +00:00
pierre deleted branch renovate/image-0.x 2024-03-15 13:34:01 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/id3-image-rs#32
No description provided.