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

Bump image from 0.24.9 to 0.25.4 #3088

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps image from 0.24.9 to 0.25.4.

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

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 <dependency name> 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 dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 21, 2024
Copy link

codspeed-hq bot commented Oct 21, 2024

CodSpeed Performance Report

Merging #3088 will not alter performance

Comparing dependabot/cargo/image-0.25.4 (7ea66f3) with main (404a37e)

Summary

✅ 17 untouched benchmarks

@dependabot dependabot bot force-pushed the dependabot/cargo/image-0.25.4 branch from 34d08aa to 4318108 Compare October 23, 2024 21:37
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.69%. Comparing base (6569cb6) to head (4318108).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3088   +/-   ##
=======================================
  Coverage   78.69%   78.69%           
=======================================
  Files         619      619           
  Lines       73412    73412           
=======================================
  Hits        57775    57775           
  Misses      15637    15637           

Bumps [image](https://github.com/image-rs/image) from 0.24.9 to 0.25.4.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md)
- [Commits](image-rs/image@v0.24.9...v0.25.4)

---
updated-dependencies:
- dependency-name: image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/image-0.25.4 branch from 4318108 to 7ea66f3 Compare October 30, 2024 23:17
@samster25 samster25 enabled auto-merge (squash) October 30, 2024 23:27
@samster25 samster25 merged commit 268eb0e into main Oct 30, 2024
43 checks passed
@samster25 samster25 deleted the dependabot/cargo/image-0.25.4 branch October 30, 2024 23:36
sagiahrac pushed a commit to sagiahrac/Daft that referenced this pull request Nov 4, 2024
Bumps [image](https://github.com/image-rs/image) from 0.24.9 to 0.25.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/image-rs/image/blob/main/CHANGES.md">image's
changelog</a>.</em></p>
<blockquote>
<h3>Version 0.25.4</h3>
<p>Features:</p>
<ul>
<li>Much faster decoding of lossless WebP due to a variety of
optimizations. Our benchmarks show 2x to 2.5x improvement.</li>
<li>Added support for orientation metadata, so that e.g. smartphone
camera images could be displayed correctly:
<ul>
<li>Added <code>ImageDecoder::orientation()</code> and implemented
orientation metadata extraction for JPEG, WebP and TIFF formats</li>
<li>Added <code>DynamicImage::apply_orientation()</code> to apply the
orientation to an image</li>
</ul>
</li>
<li>Added support for extracting Exif metadata from images via
<code>ImageDecoder::exif_metadata()</code>, and implemented it for JPEG
and WebP formats</li>
<li>Added <code>ImageEncoder::set_icc_profile()</code> and implemented
it for WebP format. Pull requests with implementations for other formats
are welcome.</li>
<li>Added <code>DynamicImage::fast_blur()</code> for a linear-time
approximation of Gaussian blur, which is much faster at larger blur
radii</li>
</ul>
<p>Bug fixes:</p>
<ul>
<li>Fixed some APNG images being decoded incorrectly</li>
<li>Fixed the iterator over animated WebP frames to return
<code>None</code> instead of an error when the end of the animation is
reached</li>
</ul>
<h3>Version 0.25.3</h3>
<p>Yanked! This version accidentally missed a commit that should have
been
included with the release. The <code>Orientation</code> struct should be
in the
appropriate module instead of the top-level. This release won't be
supported.</p>
<h3>Version 0.25.2</h3>
<p>Features:</p>
<ul>
<li>Added the HDR encoder to supported formats in generic write methods
with the
<code>hdr</code> feature enabled. Supports 32-bit float RGB color only,
for now.</li>
<li>When cloning <code>ImageBuffer</code>, <code>DynamicImage</code> and
<code>Frame</code> the existing buffer
will now be reused if possible.</li>
<li>Added <code>image::ImageReader</code> as an alias.</li>
<li>Implement <code>ImageEncoder</code> for
<code>HdrEncoder</code>.</li>
</ul>
<p>Structural changes</p>
<ul>
<li>Switch from <code>byteorder</code> to <code>byteorder-lite</code>,
consolidating some casting
unsafety to <code>bytemuck</code>.</li>
<li>Many methods on <code>DynamicImage</code> and buffers gained
<code>#[must_use]</code> indications.</li>
</ul>
<p>Bug fixes:</p>
<ul>
<li>Removed test data included in the crate archive.</li>
<li>The WebP animation decoder stops when reaching the indicate frame
count.</li>
<li>Fixed bugs in the <code>bmp</code> decoder.</li>
<li>Format support gated on the <code>exr</code> feature now compiles in
isolation.</li>
</ul>
<h3>Version 0.25.1</h3>
<p>Bug fixes:</p>
<ul>
<li>Fixed corrupt JPEG output when attempting to encode images
containing an alpha
channel.</li>
<li>Only accept &quot;.ff&quot; file extension for farbfeld images.</li>
<li>Correct farbfeld feature flag for
<code>ImageFormat::{reading_enabled, writing_enabled}</code>.</li>
<li>Disable strict mode for JPEG decoder.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/image-rs/image/commit/0307a47de2ea14eea8a497a859724e7ee005773c"><code>0307a47</code></a>
Merge pull request <a
href="https://redirect.github.com/image-rs/image/issues/2354">#2354</a>
from image-rs/release-0.25.4</li>
<li><a
href="https://github.com/image-rs/image/commit/ac09ced4b3cba911934baae797512e4105a02d3b"><code>ac09ced</code></a>
Propose wording for republishing as 0.25.4</li>
<li><a
href="https://github.com/image-rs/image/commit/5e6bf4fd3c77b0eeaae0a64216e9321b56f16cf1"><code>5e6bf4f</code></a>
Merge pull request <a
href="https://redirect.github.com/image-rs/image/issues/2352">#2352</a>
from image-rs/changelog-update</li>
<li><a
href="https://github.com/image-rs/image/commit/42d1396eb4ef250605bd83c999e45c4106bd5b90"><code>42d1396</code></a>
Drop incorrect changelog entry</li>
<li><a
href="https://github.com/image-rs/image/commit/d52a194e5c3fa304143cc71d85d551e88fd211d9"><code>d52a194</code></a>
Merge pull request <a
href="https://redirect.github.com/image-rs/image/issues/2347">#2347</a>
from Shnatsel/new-release</li>
<li><a
href="https://github.com/image-rs/image/commit/fe94eabb7f7491b9ba9378ea5ece2f8884c30c65"><code>fe94eab</code></a>
Mention lossless WebP improvements</li>
<li><a
href="https://github.com/image-rs/image/commit/5976c195939bfbede976fe1e0a80225d192a793c"><code>5976c19</code></a>
Merge pull request <a
href="https://redirect.github.com/image-rs/image/issues/2349">#2349</a>
from Shnatsel/orientation-in-metadata</li>
<li><a
href="https://github.com/image-rs/image/commit/91a001f23146d3fdb47c8eca9a4b19ebea3e4fc6"><code>91a001f</code></a>
Don't import orientation in doc example</li>
<li><a
href="https://github.com/image-rs/image/commit/693079d51491bf0ab4c41403520f2dceba6dd3a0"><code>693079d</code></a>
Reword ravif changelog entry</li>
<li><a
href="https://github.com/image-rs/image/commit/fb5799bd8fdfac399c9b40817b62a98dada19a1b"><code>fb5799b</code></a>
Move Orientation to metadata module</li>
<li>Additional commits viewable in <a
href="https://github.com/image-rs/image/compare/v0.24.9...v0.25.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=image&package-manager=cargo&previous-version=0.24.9&new-version=0.25.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants