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

chore(deps): bump fast_image_resize from 3.0.4 to 4.0.0 #219

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps fast_image_resize from 3.0.4 to 4.0.0.

Release notes

Sourced from fast_image_resize's releases.

[4.0.0] - 2024-05-13

Added

  • Added Gaussian filter for convolution algorithm.
  • Method PixelType::size() was made public.
  • Added new image containers:
    • ImageRef
    • TypedImageRef
    • TypedImage
    • TypedCroppedImage
    • TypedCroppedImageMut
    • CroppedImage
    • CroppedImageMut

Fixed

  • Fixed dividing image by alpha channel.

Changed

A lot of breaking changes have been done in this release:

  • Structures ImageView and ImageViewMut have been removed. They always did unnecessary memory allocation to store references to image rows. Instead of these structures, the ImageView and ImageViewMut traits have been added. The crate accepts any image container that provides these traits.
  • Also, traits IntoImageView and IntoImageViewMut have been added. They allow you to write runtime adapters to convert your particular image container into something that provides ImageView/ImageViewMut trait.
  • Resizer now has two methods for resize (dynamic and typed):
    • resize() accepts references to impl IntoImageView and impl IntoImageViewMut;
    • resize_typed() accepts references to impl ImageView and impl ImageViewMut.
  • Resize methods also accept the options argument. With the help of this argument, you can specify:
    • resize algorithm (default: Lanczos3);
    • how to crop the source image;
    • whether to multiply the source image by the alpha channel and divide the destination image by the alpha channel. By default, Resizer multiplies and divides by alpha channel images with U8x2, U8x4, U16x2 and U16x4 pixels.
  • Argument resize_alg was removed from Resizer::new() method, use options argument of methods to resize instead.
  • The MulDiv implementation has been changed in the same way as Resizer. It now has two versions of each method: dynamic and typed.
  • Type of image dimensions has been changed from NonZeroU32 into u32. Now you can create and use zero-sized images.
  • Image (embedded implementation of image container) moved from root of the crate into module images.
  • Added optional feature "image".

... (truncated)

Changelog

Sourced from fast_image_resize's changelog.

[4.0.0] - 2024-05-13

Added

  • Added Gaussian filter for convolution algorithm.
  • Method PixelType::size() was made public.
  • Added new image containers:
    • ImageRef
    • TypedImageRef
    • TypedImage
    • TypedCroppedImage
    • TypedCroppedImageMut
    • CroppedImage
    • CroppedImageMut

Fixed

  • Fixed dividing image by alpha channel.

Changed

A lot of breaking changes have been done in this release:

  • Structures ImageView and ImageViewMut have been removed. They always did unnecessary memory allocation to store references to image rows. Instead of these structures, the ImageView and ImageViewMut traits have been added. The crate accepts any image container that provides these traits.
  • Also, traits IntoImageView and IntoImageViewMut have been added. They allow you to write runtime adapters to convert your particular image container into something that provides ImageView/ImageViewMut trait.
  • Resizer now has two methods for resize (dynamic and typed):
    • resize() accepts references to impl IntoImageView and impl IntoImageViewMut;
    • resize_typed() accepts references to impl ImageView and impl ImageViewMut.
  • Resize methods also accept the options argument. With the help of this argument, you can specify:
    • resize algorithm (default: Lanczos3);
    • how to crop the source image;
    • whether to multiply the source image by the alpha channel and divide the destination image by the alpha channel. By default, Resizer multiplies and divides by alpha channel images with U8x2, U8x4, U16x2 and U16x4 pixels.
  • Argument resize_alg was removed from Resizer::new() method, use options argument of methods to resize instead.
  • The MulDiv implementation has been changed in the same way as Resizer. It now has two versions of each method: dynamic and typed.
  • Type of image dimensions has been changed from NonZeroU32 into u32. Now you can create and use zero-sized images.
  • Image (embedded implementation of image container) moved from root of the crate into module images.

... (truncated)

Commits
  • 95d7d5c chore: Release
  • e4101d1 Fixed some texts
  • 14cca8b Fixed doc-strings and dependencies.
  • a138db3 Merge branch 'refs/heads/main' into dev
  • ab5eeaf Fixed some texts
  • f87f80e Fixed implementation of TypedCroppedImage, TypedCroppedImageMut, `Cropped...
  • 89dea77 Merge pull request #26 from RyanBluth/main
  • 22a1b5f Fixed readme
  • bae75c8 Bump image to 0.25
  • ee2ec47 - Renamed CroppedImage into TypedCroppedImage.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Bumps [fast_image_resize](https://github.com/cykooz/fast_image_resize) from 3.0.4 to 4.0.0.
- [Release notes](https://github.com/cykooz/fast_image_resize/releases)
- [Changelog](https://github.com/Cykooz/fast_image_resize/blob/main/CHANGELOG.md)
- [Commits](Cykooz/fast_image_resize@v3.0.4...v4.0.0)

---
updated-dependencies:
- dependency-name: fast_image_resize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 20, 2024
@SalOne22
Copy link
Owner

SalOne22 commented Jun 1, 2024

@dependabot ignore this major version

@dependabot dependabot bot closed this Jun 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 1, 2024

OK, I won't notify you about version 4.x.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/cargo/fast_image_resize-4.0.0 branch June 1, 2024 12:55
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant