舰队的偶像-岛风酱!
4832d8f24a
Add Icon Support
- Ico Decoder
- Ico Detector
- Ico Detector UnitTest
- Cur Decoder
- Cur Detector
- Cur Detector UnitTest
Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
2 years ago
antonfirsov
d1cc651e19
fix BmpDecoder_ThrowsException_Issue2696
2 years ago
James Jackson-South
fb64b3367f
Clamp read palette indices.
2 years ago
James Jackson-South
63d4b2028a
Fix args and add tests
2 years ago
SpaceCheetah
d15a2e79a4
Add test for default image not animated
2 years ago
SpaceCheetah
63b7ecd87e
Fix frame dispose operation handling
2 years ago
SpaceCheetah
417667a12c
Add test
2 years ago
SpaceCheetah
b29962abca
Add test for default image not animated
2 years ago
SpaceCheetah
ce069bce25
Fix frame dispose operation handling
2 years ago
SpaceCheetah
5d9e3051cb
Add test
2 years ago
James Jackson-South
623ad5defd
Only exit after multiple EOF hits
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
624277ba88
Update Issue2668_Quantized_Encode_Alpha_Rgba32_Issue_2668.png
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
b4049ce517
Don't skip data read on animation and frame control chunks
2 years ago
Brian Popow
10b27a3e29
Remove no longer needed 32 bit tga reference images
2 years ago
Brian Popow
ce73c49fcb
Update 32 bit test images without alpha bits
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
Scott Williams
d8857023be
Sync 3.1 DrawImage fixes ( #2612 )
* 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
---------
Co-authored-by: James Jackson-South <james_south@hotmail.com>
2 years ago
Scott Williams
9906ee5ad7
correctly calculate Rect when negative target set
2 years ago
Scott Williams
7ab7b226d9
handle when foreground overhangs bottom of background
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
Tammo Hinrichs
43cf0bcca4
fixed png file casing
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
e35e9a8d89
Reduce memory usage in pixel map
2 years ago
James Jackson-South
6bfabe9d54
Reduce memory pressure on gif decoder tests
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
3 years ago
Tammo Hinrichs
fabfd5bde1
Added a couple of tests for CicpProfile
3 years ago
James Jackson-South
4b852e6528
Update tests, fix issues
3 years ago
James Jackson-South
958c9c9b10
Deduper works
3 years ago
James Jackson-South
8d7ac6ea5a
Fix boxed quantization and update refs
3 years ago
James Jackson-South
f46137847b
Complete encoding tests
3 years ago
James Jackson-South
a477ac13bc
Use correct alpha blending
3 years ago
James Jackson-South
66f444d200
Fix alpha blending and add tests
3 years ago
Jose Elias dos Santos
c7f3aa40cb
[fix]: Fixed Unknown App0 Marker add profileResolver missing
3 years ago
James Jackson-South
df2f6987a5
Do not attempt to read data for chunks of length 0.
3 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>
3 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>
3 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>
3 years ago