James Jackson-South
5a85ea72b5
Handle incorrect colorspace metadata. Fix #882 ( #885 )
7 years ago
James Jackson-South
45edceb0bc
Use more accuracy when calculating variance. Fix #866 ( #874 )
* Use more accuracy when calculating variance. Fix #866
* Add unit tests
* Add test that fails with old image.
* Make IFrameQuantizer IDisposable
* Update GifEncoderCore.cs
7 years ago
James Jackson-South
76707283fc
Bounds check. Fix #849 ( #851 )
7 years ago
James Jackson-South
6c637af2cf
Implement IEquatable<Block8x8F> and check when summing. ( #848 )
7 years ago
James Jackson-South
617c77c084
Lazily derive the huffman tables. Fix #839 ( #841 )
* Lazily derive the huffman tables. Fix #839
* Lazy invoke fast table
* Add performance tweaks to scan decoder.
* Remove unneccessary classes.
7 years ago
James Jackson-South
8f3658da6c
Jpeg Fuzz Fixes ( #836 )
* Nomalize jpeg exceptions. Fix #821
* Fix #822
* Fix #823
* Check for correct QT index. Touch #824
* Check DHT props. Touch #824
* Limit sampling factors to 1 & 2. Touch #824
* Add already fixed image 4. Touch #824
* Check for excessive code lengths. Touch #824
* Add already fixed image 6. Touch #824
* Lint progressive scan details. Touch #824
* Add already fixed image 8. Fix #824
* Remove duplicate per-block checks
* Add already fixed image 1. Touch #825
* Don't throw on bad JFIF density units.
* Add already fixed image 3. Touch #825
* Add already fixed image 4. Fix #825
* Check SOFn marker length. Touch #826
* Add already fixed image 2. Touch #826
* Add already fixed image 3. Fix #826
* Add fixed already fixed image. Fix #827
* Revert unneeded bounds check introduced in #804
7 years ago
James Jackson-South
5a9b84e9a6
Remove hardcoded subsampling. Fix #817 ( #834 )
7 years ago
Brian Popow
892bba1ed1
Add support for Decoding BI_ALPHABITFIELDS ( #832 )
* Adds support for BI_ALPHABITFIELDS
* Fix for decoding bitmaps with a less than full sized palette
7 years ago
Brian Popow
13ff434b9e
Fix Decoding interlaced grayscale ( #831 )
7 years ago
Brian Popow
637f76707b
Respecting fileHeader Offset, skipping bytes if necessary ( #819 )
7 years ago
Brian Popow
6a60638d5c
Fix Decoding 8-Bit grayscale png's with alpha ( #830 )
7 years ago
Brian Popow
b03d41bbb9
Adds support for OS/2 version 2 bitmaps ( #813 )
* Added support for OS/2 version 2 bitmaps
* throw NotSupportedException, if the file header type is not BM
* renamed Os2v2 to Os2v2Size
* Added BmpThrowHelper similar to the JpegThrowHelper
7 years ago
Brian Popow
1b9979c9ef
Added support for RLE4 encoded bitmaps ( #812 )
7 years ago
Brian Popow
1996831667
Decoding Bitmaps with BITFIELDS masks ( #796 )
* decoding bitmaps with Bitfields masks
* added testcases for Bitfields bitmaps
* added parsing of the complete bitmap V4 header to get the color masks infos for the BITFIELDS compression
* writing now explicitly a Bitamp v3 header (40 bytes)
* added test image for issue #735
* fixed rescaling 5-bit / 6-bit to 0 - 255 range
* BitmapEncoder now writes BMP v4 header
* using MemoryMarshal.Cast to simplify parsing v4 header
* added testcases for bitmap v3, v4, v5
* Bitmap encoder writes again V3 header instead of V4. Additional fields for V4 are zero anyway.
* added parsing of special case for 56 bytes headers
* using the alpha mask in ReadRgb32BitFields() when its present
* added support for bitmasks greater then 8 bits per channel
* using MagickReferenceDecoder reference decoder for the test with 10 bits pixel masks
* changed bitmap constants to hex
* added enum for the bitmap info header type
* added support for 52 bytes header (same as 56 bytes without the alpha mask)
* clarified comment with difference between imagesharp and magick decoder for Rgba321010102
* BmpEncoder now writes a V4 info header and uses BITFIELDS compression
* workaround for issue that the decoder does not decode the alpha channel correctly: For V3 bitmaps, the alpha channel will be ignored during encoding
* Fix #732
7 years ago
James Jackson-South
93bb37394a
Use bounds checks in Huffman ctr. Fix #798
7 years ago
Peter Amrehn
575c23d929
#797 throw ImageFormatException when no StartOfFrame marker is found on a jpg image.
7 years ago
popow
0f5df545be
updated unit test to be in line with the other tests
7 years ago
popow
0e41c13d3c
added Test for decoding windows BMPv2 and one for a bitmap which has 4 bytes per color palette
7 years ago
Stephan Vedder
5ee5da8f81
Start work on jpeg 12 bit support
7 years ago
James Jackson-South
6849617065
Fix trns preservation and add tests
7 years ago
Anton Firszov
5c65cca162
fix Block8x8FTests.Copy1x1Scale, reorganize TestImages.Jpeg.BenchmarkSuite as a static class
7 years ago
Anton Firszov
86489b8ac6
simplify benchmark suite
7 years ago
Anton Firszov
8c6903873b
improved benchmarks + more benchmark results
7 years ago
James Jackson-South
ba6ecfead5
Add issue reference images
7 years ago
James Jackson-South
fbde4f32fd
Use scaled luminance trns comparison.
7 years ago
James Jackson-South
24f2e1a689
Decode components in correct order + cleanup + optimizations.
7 years ago
James Jackson-South
f62f6e82e1
Fix #721
7 years ago
James Jackson-South
9907d78d3e
Preserve BmpBitsPerPixel
8 years ago
James Jackson-South
3835b0b777
Fix EXIF overflow and Jpeg decoding
8 years ago
James Jackson-South
4b9c684586
Add derived format info types and allow persistance of palette lengths
8 years ago
James Jackson-South
2d63e31b48
Add image blending tests to match the SVG spec examples
8 years ago
James Jackson-South
18c4a7fef0
Fix 1 bit bmp decoding and add extra test images.
8 years ago
James Jackson-South
b176a0ec17
Add bmp and jpeg tests
8 years ago
James Jackson-South
0eb55cf53f
Add png tests
8 years ago
James Jackson-South
692d539b78
Add gif tests
8 years ago
Anton Firszov
65a050495f
add regression test for #624
8 years ago
James Jackson-South
922d367fe6
More tests
8 years ago
James Jackson-South
5da4184217
Better tRNS coverage
8 years ago
James Jackson-South
8628aaa8a6
Add 16bit decoder tests.
8 years ago
Dirk Lemstra
bbf6b22b83
Added unit test.
8 years ago
Anton Firszov
6ca57aa201
refactor jpeg tests + add another test image for #159
8 years ago
James Jackson-South
66a2564ea4
Add false positive tests for #517 #518
8 years ago
James Jackson-South
4059448dc6
Add basic comparision tests
8 years ago
James Jackson-South
766481c18e
Can now read padded RSTn markers. Fix #481
8 years ago
Anton Firszov
0760cb736c
removing the "Issue" label from #464-s test image + ExifUndefType.jpg is actually progressive!
8 years ago
Anton Firszov
69db4e9acb
added failing tests for #464
8 years ago
James Jackson-South
d19e7cebf3
Add kaboom image for future testing
8 years ago
James Jackson-South
6469a42e77
Fix #403
8 years ago
James Jackson-South
e25ee10acd
Fix #405
8 years ago
James Jackson-South
1bf234db10
Fix #390
8 years ago