Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate image to 0.25.0 #569

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 11, 2022

This PR contains the following updates:

Package Type Update Change
image dependencies minor 0.24.4 -> 0.25.0

Release Notes

image-rs/image (image)

v0.25.5

Compare Source

Features:

  • Added support for decoding 10-bit and 12-bit AVIF
  • Initial, opt-in serde support for an enum. This may be extended to other types in the future.

Bug fixes:

  • Multiple bug fixes in AVIF decoding
  • The rayon feature now correctly toggles the use of rayon when encoding AVIF. (Previously it would be either always on or always off depending on the version of the ravif crate in your dependency tree.)
  • "jfif" file extension for JPEG images is now recognized

v0.25.4

Compare Source

Features:

  • Much faster decoding of lossless WebP due to a variety of optimizations. Our benchmarks show 2x to 2.5x improvement.
  • Added support for orientation metadata, so that e.g. smartphone camera images could be displayed correctly:
    • Added ImageDecoder::orientation() and implemented orientation metadata extraction for JPEG, WebP and TIFF formats
    • Added DynamicImage::apply_orientation() to apply the orientation to an image
  • Added support for extracting Exif metadata from images via ImageDecoder::exif_metadata(), and implemented it for JPEG and WebP formats
  • Added ImageEncoder::set_icc_profile() and implemented it for WebP format. Pull requests with implementations for other formats are welcome.
  • Added DynamicImage::fast_blur() for a linear-time approximation of Gaussian blur, which is much faster at larger blur radii

Bug fixes:

  • Fixed some APNG images being decoded incorrectly
  • Fixed the iterator over animated WebP frames to return None instead of an error when the end of the animation is reached

v0.25.3

Compare Source

Yanked! This version accidentally missed a commit that should have been
included with the release. The Orientation struct should be in the
appropriate module instead of the top-level. This release won't be supported.

v0.25.2

Compare Source

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

Compare Source

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

Compare Source

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.

v0.24.9

Compare Source

Structural changes:

  • Relicense to MIT OR Apache-2.0
  • Increase MSRV 1.63.0

New features:

  • Support limits in PNG animation decoding.
  • Added offsets to SubImage to compensate for the now-deprecated bounds call
    from GenericImageView.

Bug fixes:

  • Correct limit tests for TIFF.
  • Avoid overflow in gif::Decoder::buffer_size.
  • Return error instead of using asssertion for Avif decoder unsupported or
    invalid bit depth.

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<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

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.5 Update Rust crate image to 0.24.5 Dec 17, 2022
@renovate renovate bot changed the title Update Rust crate image to 0.24.5 fix(deps): update rust crate image to 0.24.5 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/image-0.x branch from 19a5615 to c730bfa Compare March 15, 2023 16:21
@renovate renovate bot force-pushed the renovate/image-0.x branch from c730bfa to 84390a4 Compare March 25, 2023 03:11
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.5 fix(deps): update rust crate image to 0.24.6 Mar 25, 2023
@renovate renovate bot force-pushed the renovate/image-0.x branch from 84390a4 to 4954dd3 Compare May 15, 2023 00:54
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.6 fix(deps): update rust crate image to 0.24.7 Aug 9, 2023
@renovate renovate bot force-pushed the renovate/image-0.x branch from 4954dd3 to b4bc106 Compare August 9, 2023 03:20
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.7 fix(deps): update rust crate image to 0.24.8 Jan 13, 2024
@renovate renovate bot force-pushed the renovate/image-0.x branch from b4bc106 to d7afa21 Compare January 13, 2024 23:20
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.8 fix(deps): update rust crate image to 0.24.9 Feb 23, 2024
@renovate renovate bot force-pushed the renovate/image-0.x branch from d7afa21 to 18733eb Compare February 23, 2024 06:27
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.9 fix(deps): update rust crate image to 0.25.0 Mar 10, 2024
@renovate renovate bot force-pushed the renovate/image-0.x branch from 18733eb to f3d0c0e Compare March 10, 2024 23:17
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.25.0 fix(deps): update rust crate image to 0.25.1 Mar 31, 2024
@renovate renovate bot force-pushed the renovate/image-0.x branch from f3d0c0e to 3db85db Compare March 31, 2024 04:15
@renovate renovate bot force-pushed the renovate/image-0.x branch from 3db85db to 6eb14b5 Compare April 11, 2024 15:59
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.25.1 fix(deps): update rust crate image to 0.25.0 May 5, 2024
@renovate renovate bot force-pushed the renovate/image-0.x branch from 6eb14b5 to 57e8234 Compare May 5, 2024 10:18
@renovate renovate bot force-pushed the renovate/image-0.x branch from 57e8234 to e11fcfc Compare October 22, 2024 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants