SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.34k stars 847 forks source link

Replace PngCrcChunkHandling #2786

Closed JimBobSquarePants closed 1 month ago

JimBobSquarePants commented 1 month ago

Prerequisites

Description

This is a rework of #2589 for V4 that generalizes the segment error handling allowing us to specify rules during identification.

PNG is currently the only format that uses these properties, but others can be migrated when required.

Erik-White commented 1 month ago

Excellent, this will be very useful!