Bump SixLabors.ImageSharp from 3.1.12 to 4.1.0

Closed
DE
2mo ago
+1-1

Updated SixLabors.ImageSharp from 3.1.12 to 4.1.0.

Release notes

Sourced from SixLabors.ImageSharp's releases.

4.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/SixLabors/ImageSharp/compare/v4.0.0...v4.1.0

4.0.0

What's Changed

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)

Summary by cubic

Updates SixLabors.ImageSharp from 3.1.12 to 4.1.0 to pick up .NET 8 optimizations and image decoding/encoding fixes. Behavior changes: the library now targets .NET 8 and fixes GIF transparency/dithering and PNG handling, so image outputs may differ.

  • Compatibility and migration

    • Requires .NET 8; ensure all consuming projects target net8.0.
    • GraphicsOptions.AntialiasThreshold was removed; delete any usage.
    • Pixel/color APIs were streamlined; review any direct pixel format or color space code.
    • Expect pixel-level diffs for GIF/PNG due to decoder/encoder corrections.
  • Notable improvements

    • More accurate GIF transparency and dithering; improved PNG (including Apple CgBI) and PBM validation.
    • New decoders and features: ICO/CUR/ANI support, progressive JPEG encoder.
    • Configurable MemoryAllocator limits and SIMD/alpha blending optimizations.