plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
https://plotters-rs.github.io/home/
MIT License
3.91k stars 281 forks source link

Update image requirement from 0.24.3 to 0.25.4 #652

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 1 month ago

Updates the requirements on image to permit the latest version.

Changelog

Sourced from image's changelog.

Version 0.25.4

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

Version 0.25.3

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.

Version 0.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.

Version 0.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.

... (truncated)

Commits
  • 0307a47 Merge pull request #2354 from image-rs/release-0.25.4
  • ac09ced Propose wording for republishing as 0.25.4
  • 5e6bf4f Merge pull request #2352 from image-rs/changelog-update
  • 42d1396 Drop incorrect changelog entry
  • d52a194 Merge pull request #2347 from Shnatsel/new-release
  • fe94eab Mention lossless WebP improvements
  • 5976c19 Merge pull request #2349 from Shnatsel/orientation-in-metadata
  • 91a001f Don't import orientation in doc example
  • 693079d Reword ravif changelog entry
  • fb5799b Move Orientation to metadata module
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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[bot] commented 3 weeks ago

Superseded by #660.