Skip to content

build(deps): bump image from 0.69.0 to 0.72.0 - #354

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/image-0.72.0
Open

build(deps): bump image from 0.69.0 to 0.72.0#354
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/image-0.72.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps image from 0.69.0 to 0.72.0.

Release notes

Sourced from image's releases.

Image version 0.72.0

Changed

  • Breaking: Unifies background handling under a single :background option across Image.embed/4, Image.flatten/2, Image.join/2, Image.rotate/3 and the affine family (Image.affine/3, Image.translate/4, Image.shear/4, Image.warp_perspective/4), replacing the previous :background_color and :background_transparency options. Set a transparent or semi-transparent fill by wrapping any color as {color, alpha: a}. Thanks to @​hlindset for the PR.

  • Breaking: An omitted or nil :background now defers to libvips' native fill everywhere (transparent for alpha images, black otherwise, paper-white in CMYK), so Image.flatten/2 with no background matches how Image.write/3 flattens. Previously Image.flatten/2 and an alpha Image.embed/4 defaulted to opaque black.

Removed

  • Breaking: Removes the :black and :white extend modes from Image.embed/4 and narrows the affine-family :extend_mode to :background | :copy; combining a content extend mode with an explicit :background now errors. Use an explicit :background color in place of the removed modes. Thanks to @​hlindset for the PR.

Fixed

  • Fix numeric array save options (for example background: [0, 128, 0]) being silently dropped on :memory and stream writes; the filename suffix joined array values with : rather than spaces, which libvips ignores. Thanks to @​hlindset for the PR.

Image version 0.71.0

Added

  • Adds ### Examples doctest sections to more than 220 public functions across Image and its submodules. All examples run as doctests.

  • Adds a range argument (:limited or :full) to the Image.YUV encode and decode functions, and Image.YUV.valid_ranges/0. :limited (studio-swing) is the default and matches the previous behaviour.

Fixed

  • Fix Image.YUV to use studio-swing (limited range) coefficients in both directions by default. Previously the encoder was studio-swing but the decoder was full-range, so YUV round trips compressed colors toward grey.

Removed

  • Removes the unused internal modules Image.Nx, Image.Exif.ReadError and Image.Exif.FieldNames. These were private implementation modules with no callers.

Image version 0.70.0

Added

  • Adds Image.Lqip.Css to encode an image as a packed LQIP CSS placeholder value, with a new guide including the copy-and-paste stylesheet. Thanks to @​hlindset for the PR.

  • Adds Image.BackgroundColor to resolve background color specifications (including :average) into concrete pixels; used by Image.rotate/3, affine and warp operations. Thanks to @​hlindset for the PRs.

  • Adds :background color resolution to Image.write/3 so alpha images flatten onto a resolved background when writing to formats without alpha. Thanks to @​hlindset for the PR.

  • Adds Image.YUV.valid_encodings/0 and Image.YUV.valid_colorspaces/0.

Changed

  • Image.average/1 now weights the average by the alpha band so transparent pixels do not contribute; fully transparent images fall back to the unweighted color-band average, and float-format images return unrounded averages.

  • All validation and libvips errors are now returned as {:error, %Image.Error{}} as t:Image.error/0 documents; previously many paths returned bare strings.

  • Image.to_nx/2 with shape: :whc now performs a true transpose; Image.from_nx/1 interprets unnamed tensors as {height, width, bands} and narrows 64-bit integer tensors to 32 bits.

  • Image.circle/2 center-crops non-square images and merges an existing alpha band instead of adding a second one.

... (truncated)

Changelog

Sourced from image's changelog.

Image 0.72.0

This is the changelog for Image version 0.72.0 released on July 22nd, 2026. For older changelogs please consult the release tag on GitHub

Changed

  • Breaking: Unifies background handling under a single :background option across Image.embed/4, Image.flatten/2, Image.join/2, Image.rotate/3 and the affine family (Image.affine/3, Image.translate/4, Image.shear/4, Image.warp_perspective/4), replacing the previous :background_color and :background_transparency options. Set a transparent or semi-transparent fill by wrapping any color as {color, alpha: a}. Thanks to @​hlindset for the PR.

  • Breaking: An omitted or nil :background now defers to libvips' native fill everywhere (transparent for alpha images, black otherwise, paper-white in CMYK), so Image.flatten/2 with no background matches how Image.write/3 flattens. Previously Image.flatten/2 and an alpha Image.embed/4 defaulted to opaque black.

Removed

  • Breaking: Removes the :black and :white extend modes from Image.embed/4 and narrows the affine-family :extend_mode to :background | :copy; combining a content extend mode with an explicit :background now errors. Use an explicit :background color in place of the removed modes. Thanks to @​hlindset for the PR.

Fixed

  • Fix numeric array save options (for example background: [0, 128, 0]) being silently dropped on :memory and stream writes; the filename suffix joined array values with : rather than spaces, which libvips ignores. Thanks to @​hlindset for the PR.

Image 0.71.0

This is the changelog for Image version 0.71.0 released on July 8th, 2026. For older changelogs please consult the release tag on GitHub

Added

  • Adds ### Examples doctest sections to more than 220 public functions across Image and its submodules. All examples run as doctests.

  • Adds a range argument (:limited or :full) to the Image.YUV encode and decode functions, and Image.YUV.valid_ranges/0. :limited (studio-swing) is the default and matches the previous behaviour.

Fixed

  • Fix Image.YUV to use studio-swing (limited range) coefficients in both directions by default. Previously the encoder was studio-swing but the decoder was full-range, so YUV round trips compressed colors toward grey.

Removed

  • Removes the unused internal modules Image.Nx, Image.Exif.ReadError and Image.Exif.FieldNames. These were private implementation modules with no callers.

Image 0.70.0

This is the changelog for Image version 0.70.0 released on July 8th, 2026. For older changelogs please consult the release tag on GitHub

Added

  • Adds Image.Lqip.Css to encode an image as a packed LQIP CSS placeholder value, with a new guide including the copy-and-paste stylesheet. Thanks to @​hlindset for the PR.

  • Adds Image.BackgroundColor to resolve background color specifications (including :average) into concrete pixels; used by Image.rotate/3, affine and warp operations. Thanks to @​hlindset for the PRs.

  • Adds :background color resolution to Image.write/3 so alpha images flatten onto a resolved background when writing to formats without alpha. Thanks to @​hlindset for the PR.

  • Adds Image.YUV.valid_encodings/0 and Image.YUV.valid_colorspaces/0.

... (truncated)

Commits
  • efd6b9a Enforce docs build (mix docs --warnings-as-errors) in CI
  • 62b5ea3 Bump version
  • a030044 Add 0.72.0 changelog for the unified :background option
  • d2bb358 Merge pull request #213 from hlindset/feat/background-option-refactor
  • dc98142 Merge pull request #214 from hlindset/fix/numeric-array-save-options
  • d7145d0 Merge pull request #215 from hlindset/docs/hide-for-dialyzer-module
  • 7b501b0 Update CI matrix
  • f67a24e Enforce Credo policy in CI
  • faebc27 hide ForDialyzer module in hexdocs
  • 6c64ddc Fix numeric array save opts being dropped in :memory and stream writes
  • 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 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 [image](https://github.com/elixir-image/image) from 0.69.0 to 0.72.0.
- [Release notes](https://github.com/elixir-image/image/releases)
- [Changelog](https://github.com/elixir-image/image/blob/main/CHANGELOG.md)
- [Commits](elixir-image/image@v0.69.0...v0.72.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jul 27, 2026
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 elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants