SpaceCheetah
b29962abca
Add test for default image not animated
2 years ago
SpaceCheetah
5d9e3051cb
Add test
2 years ago
James Jackson-South
382ee7fb23
Only exit after multiple EOF hits
2 years ago
James Jackson-South
edc87ad90d
Limit ancillary chunk size.
2 years ago
James Jackson-South
f44b761f3b
Add fixes 2668, 2676, and 2677 to main ( #2678 )
* Prevent underflow
* Fix file name
* Revert "Fix file name"
This reverts commit 15619ecd88 .
* Update AlphaDecoder.cs
* Use a smarter approach to determine the transparent index
* Fix casing
* Update src/ImageSharp/Formats/Webp/AlphaDecoder.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
* Update Issue2668_Quantized_Encode_Alpha_Rgba32_Issue_2668.png
* Normalize Color API
* Aggressive inlining
---------
Co-authored-by: Günther Foidl <gue@korporal.at>
2 years ago
James Jackson-South
ed2cd3184f
Fix casing
2 years ago
James Jackson-South
2a548818ac
Use a smarter approach to determine the transparent index
2 years ago
James Jackson-South
12d05b77cd
Revert "Fix file name"
This reverts commit 15619ecd88 .
2 years ago
James Jackson-South
15619ecd88
Fix file name
2 years ago
James Jackson-South
3c65383dec
Prevent underflow
2 years ago
James Jackson-South
83ecbdb19f
Fix path
2 years ago
James Jackson-South
b4049ce517
Don't skip data read on animation and frame control chunks
2 years ago
Brian Popow
1c2bfd8ebf
Add test for issue 2629
2 years ago
Robert Mutniański
bb9ed65333
add jpeg com marker support
2 years ago
James Jackson-South
51193111a1
Fix handling gif encoding for global palettes - Main ( #2615 )
* 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>
2 years ago
James Jackson-South
ad1b0e6dad
Fix handling gif encoding for global palettes. ( #2614 )
* Handle global ani with 256 palette and no trans
* Bump diff for windows
2 years ago
James Jackson-South
bec2c385f3
Handle dedup of local palette of 256 length ( #2607 )
2 years ago
James Jackson-South
f3ff11ea6b
Handle dedup of local palette of 256 length
2 years ago
James Jackson-South
2200ac2b3c
Add test
2 years ago
James Jackson-South
3d9ceaa8fa
Allow decoding early EOF
2 years ago
James Jackson-South
a6f96f775e
Optimize and fix deduper
2 years ago
Brian Popow
b46ab5af84
Explicitly set BitsPerPixel and BitsPerSample to 1 for bicolor compressed images, fixes #2587
2 years ago
Tammo Hinrichs
fabfd5bde1
Added a couple of tests for CicpProfile
2 years ago
James Jackson-South
958c9c9b10
Deduper works
2 years ago
James Jackson-South
a477ac13bc
Use correct alpha blending
2 years ago
James Jackson-South
66f444d200
Fix alpha blending and add tests
2 years ago
Jose Elias dos Santos
c7f3aa40cb
[fix]: Fixed Unknown App0 Marker add profileResolver missing
2 years ago
James Jackson-South
df2f6987a5
Do not attempt to read data for chunks of length 0.
2 years ago
Anton Firszov
d76fe6f6ae
PBM decoder robustness improvements and BufferedReadStream observability ( #2551 )
* 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>
2 years ago
James Jackson-South
b8e8b8613d
Tiff decoding robustness improvements ( #2550 )
* Faster Handling of circular offsets
* Handle early EOF during ZLib inflate
* more checks
---------
Co-authored-by: antonfirsov <antonfir@gmail.com>
2 years ago
Brian Popow
c5eed0e537
Add webp decoder option to handle the background color in ANIM chunk ( #2547 )
* 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>
2 years ago
James Jackson-South
ed3860cfda
Handle EOF in Jpeg bit reader when data is bad to prevent DOS attack. ( #2516 )
* 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>
2 years ago
Poker
7b6c32d54b
implement APNG encoder
3 years ago
James Jackson-South
492507fa2d
Allow JFXX as an App0 marker header
3 years ago
Ynse Hoornenborg
c60cae82ac
Tests
3 years ago
James Jackson-South
3f65ff61b3
Restore constructor, fix casing
3 years ago
James Jackson-South
42336ba7f9
Fix #2447
3 years ago
James Jackson-South
ae3900df7a
Use more accurate bit for alpha lookup. Fix #2469
3 years ago
James Jackson-South
53510f0220
Add explicit tests for #2450
3 years ago
Gerard Gunnewijk
b4ad3c3009
Added test that shows the issue
3 years ago
Brian Popow
f558e6f574
Add test for issue 2456
3 years ago
James Jackson-South
43aaad1d49
Make color tables mutable
3 years ago
LuisAlfredo92
60d87635fb
Adding tests and fixing bugs
Now it identifies qoi images successfully
3 years ago
Brian Popow
93790ba9a6
Add test for #2435
3 years ago
Ildar Khayrutdinov
91c3d5ecf8
cleanup
3 years ago
Ildar Khayrutdinov
cfaf555c1f
add test for notSupported 64 bit cmyk, add more tests for Identify (incl 64 bit cmyk)
3 years ago
Brian Popow
3fd4fdc0c0
Fix wrong casing of file endings from BMP to bmp
3 years ago
Petar Tasev
a43ac0cf53
Added compressed grayscale 16 bit decoder tests
3 years ago
Petar Tasev
bd9e1ee508
Added unit tests and 16 bit grayscale images
3 years ago
James Jackson-South
cf4c384cc4
Add test images
3 years ago