* Limit lzw bits to a maximum of 12 bits, fixes issue #2743
* Dispose currentLocalColorTable in final block
* Revert "Dispose currentLocalColorTable in final block"
This reverts commit 35ea961552.
* Don't throw; return.
---------
Co-authored-by: James Jackson-South <james_south@hotmail.com>
* Handle dedup of local palette of 256 length
* handle when foreground overhangs bottom of background
* prevent potential overflow
* reduce to a single par of clamping operations
* correctly calculate Rect when negative target set
* Handle global ani with 256 palette and no trans
* Bump diff for windows
---------
Co-authored-by: Scott Williams <tocsoft@gmail.com>
Co-authored-by: Scott Williams <166440+tocsoft@users.noreply.github.com>
* handle premature EOF in the PBM decoder
* BufferedReadStreamExtensions: remove the 'Try' prefix
* count EOF hits in BufferedReadStream
* use EofHitCounter in pbm tests
* Naming convention tweaks
---------
Co-authored-by: James Jackson-South <james_south@hotmail.com>
* Add webp decoder option BackgroundColorHandling to decide howto handle the background color in the ANIM chunk
* Add test for Issue 2528
* Update src/ImageSharp/Formats/Webp/BackgroundColorHandling.cs
Co-authored-by: James Jackson-South <james_south@hotmail.com>
* Fix path to test file
* Another attempt fixing the file path: path should be lower case
* Revert fa4febf7
---------
Co-authored-by: James Jackson-South <james_south@hotmail.com>
* Handle EOF in bit reader when data is bad.
* Allow parallel processing of multi-megapixel image
* Stream seek can exceed the length of a stream
* Try triggering on release branches
* Update JpegBitReader.cs
* Skin on Win .NET 6
* All Win OS is an issue
* Address feedback
* add validation to CanIterateWithoutIntOverflow
---------
Co-authored-by: antonfirsov <antonfir@gmail.com>