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 willow[heif] from 1.6.3 to 1.8.0 in /requirements #14767

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2024

Bumps willow[heif] from 1.6.3 to 1.8.0.

Release notes

Sourced from willow[heif]'s releases.

v1.8 - Better handling of CMYK images with ICC profile, and support for ICO

[!NOTE] This release converts CMYK images with an ICC profile to sRGB as CMYK is not supported by PNG, WEBP, AVIF and HEIC Pillow encoders.

The issue stems from the fact that when a CMYK image is encoded, it gets converted to RGB, thus resulting in inaccurate colors because Pillow ignores the ICC profile during the conversion. So, we manually force an accurate conversion to RGB before encoding the image. This results in a much more accurate representation of the original CMYK image.

What's Changed

New Contributors

Full Changelog: wagtail/Willow@v1.7.0...v1.8.0

Changelog

Sourced from willow[heif]'s changelog.

1.8.0 (2024-01-17)

  • Fix sphinx build errors

  • Remove old imghdr patch test (Storm Heg)

  • Update the OpenCV detect_faces test for determinism (Stephan Lachnit)

  • Add transform_colorspace_to_srgb operation and use it to fix inaccurate colors when saving specific image files (Storm Heg)

    Note: this forces conversion to sRGB for CMYK images with an ICC profile as CMYK is not supported by PNG, WEBP, AVIF and HEIC Pillow encoders. Otherwise, when a CMYK image is encoded, it gets converted to RGB resulting in inaccurate colors because Pillow ignores the ICC profile when performing the conversion. So, as a workaround, we manually force an accurate conversion to RGB before encoding the image. This results in a much more accurate representation of the original CMYK image.

  • Add support for ICO images (Jake Howard)

1.7.0 (2023-11-26)

Note: due to various limitations, version 1.6.3 includes some of the fixes present in 1.7.x, most importantly the ICC profile and EXIF data when saving a JPEG to PNG, WebP, AVIF.

  • Test with Python 3.12 (@​zerolab)
  • Add optional dependencies for Pillow/Wand (@​zerolab) One can run pip install Willow[Pillow] or Willow[Wand] and get the correct Pillow or Wand versions.
  • Replace wrong unicode character in the image/heic mime type (Stephan Lachnit)
  • Fix color management by keeping ICC color profiles and EXIF data in addition (André Fuchs, Stefan Istrate)
Commits
  • 94af7c4 Drop flit install from the publish task
  • 452adf8 Bump version to 1.8.0
  • 0932a93 Add documentation link for PyPI
  • d4e28c0 Update CHANGELOG
  • dc30528 Add support for ICO images (#141)
  • 9565d94 Add transform_colorspace_to_srgb operation and use it to fix inaccurate col...
  • 60d9ed3 test_detect_faces: sort array for determinism (#135)
  • 6c72dc5 Remove old imghdr patch test (#143)
  • a905f80 Fix sphinx build errors (#140)
  • 0488441 Bump version to 1.7.0
  • 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)
Bumps [willow[heif]](https://github.com/wagtail/Willow) from 1.6.3 to 1.8.0.
- [Release notes](https://github.com/wagtail/Willow/releases)
- [Changelog](https://github.com/wagtail/Willow/blob/main/docs/changelog.rst)
- [Commits](wagtail/Willow@v1.6.3...v1.8.0)

---
updated-dependencies:
- dependency-name: willow[heif]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added Backend Server stuff yo dependencies Pull requests that update a dependency file labels Jul 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 15, 2024

Looks like willow[heif] is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jul 15, 2024
@dependabot dependabot bot deleted the dependabot/pip/requirements/willow-heif--1.8.0 branch July 15, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Server stuff yo dependencies Pull requests that update a dependency file
0 participants