Skip to content

build(deps): Bump image from 4.8.0 to 4.9.2 - #2038

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/image-4.9.2
Open

build(deps): Bump image from 4.8.0 to 4.9.2#2038
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/image-4.9.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

Bumps image from 4.8.0 to 4.9.2.

Changelog

Sourced from image's changelog.

4.9.2

  • Add the DitherKernel.burkes and DitherKernel.jarvisJudiceNinke error-diffusion kernels.
  • Add ordered (Bayer) matrix dithering via ditherImageBayer and the DitherKernel.bayer2x2, DitherKernel.bayer4x4, DitherKernel.bayer8x8 kernels. Unlike the error-diffusion kernels, the pattern is position-based and uses a fixed threshold matrix, so it is deterministic and fast.
  • Add DitherScanOrder (raster, serpentine, zigzag, hilbert) and the ditherImage(scanOrder:) / quantize(ditherScanOrder:) / encodeGif(ditherScanOrder:) / GifEncoder(ditherScanOrder:) parameters. zigzag visits pixels along the anti-diagonals, which breaks up the horizontal worm artifacts of raster scanning.
  • Fix binary PNM files being misdetected as TGA, by probing PNM before TGA in findDecoderForData.
  • Fix injectJpgExif dropping any segment (such as the JFIF APP0 header) that precedes the EXIF APP1 block, and losing the embedded EXIF thumbnail.
  • Remove xml dependency, replacing it with a minimal built-in parser for the bitmap font (.fnt) format.
  • Fix OctreeQuantizer mapping colors to palette index 0 when their octree path hit a folded-away branch, which turned bright pixels near-black once an image had more distinct colors than the requested palette size. Palettes built from partially-folded internal nodes now include those nodes' entries, so the palette also no longer comes up short of numberOfColors.

4.9.1

  • Remove meta dependency.

4.9.0

  • Fix minMax returning incorrect values when the minimum or maximum was in the first pixel of a multi-channel image.
  • Fix copyResizeCropSquare ignoring the crop offset when using non-nearest interpolation, which off-centered the resized result.
  • Improve the precision of the RGB/XYZ/CIE-Lab color conversions, and round rather than truncate the final RGB values, making the conversions lossless.
  • Fix copyResizeCropSquare throwing a range error when a non-zero radius was used with a non-square image.
  • Fix non-antialiased drawLine drawing diagonal lines offset by ~1 pixel.
  • Preserve EXIF metadata when expanding an image with copyExpandCanvas.
  • Image.convert now applies an explicitly provided alpha value even when the format and channel count are unchanged.
  • Fix a range error in Image.fromBytes when the source row stride is smaller than the image's row stride.
  • Fix a RangeError when decoding images with corrupt EXIF data.
  • Reject non-BMP files that merely start with the BM signature instead of crashing the decoder.
  • Fix noise with NoiseType.saltAndPepper producing colored pixels instead of black/white ones.

... (truncated)

Commits
  • 1624872 code cleanup
  • e6ca6da Merge pull request #799 from runoob-coder/main
  • 88a01fe docs(filters): update scan order descriptions
  • bf69e5f feat(dither): add configurable strength for Bayer dither
  • 4e55b90 docs(changelog): add hilbert to scan order list
  • aba211d Remove deprecation of serpentine and ditherSerpentine parameters
  • 9ecb669 feat(dither): add Hilbert curve scan order and refactor kernels
  • b3fce5f Update ditherImage test to use default scan order
  • 388d74d fix: scan order precedence in ditherImage
  • f70bf56 Set default scanOrder to zigzag in ditherImage
  • 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/brendan-duncan/image) from 4.8.0 to 4.9.2.
- [Changelog](https://github.com/brendan-duncan/image/blob/main/CHANGELOG.md)
- [Commits](brendan-duncan/image@v4.8.0...v4.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants