James Jackson-South
512647489f
Bounds check. Fix #849 ( #851 )
7 years ago
James Jackson-South
794fe20851
Implement IEquatable<Block8x8F> and check when summing. ( #848 )
7 years ago
James Jackson-South
a69eb5bbed
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
1054f84253
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
19270664b0
Remove hardcoded subsampling. Fix #817 ( #834 )
7 years ago
Brian Popow
a2c4b2d5d8
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
66f77952f7
Fix Decoding interlaced grayscale ( #831 )
7 years ago
Brian Popow
07aa4f9316
Respecting fileHeader Offset, skipping bytes if necessary ( #819 )
7 years ago
Brian Popow
fb9e23020b
Fix Decoding 8-Bit grayscale png's with alpha ( #830 )
7 years ago
Brian Popow
2c62112017
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
0d68e6d09d
Added support for RLE4 encoded bitmaps ( #812 )
7 years ago
Brian Popow
84ba4bbf0d
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
bbb739ba93
Fix Color Filters ( #806 )
* Use Matrix5x4 and fix Hue Filter
* Update test references. Fix #802
* Increase tolerance to handle xplat variance.
* Rename to ColorMatrix
7 years ago
James Jackson-South
78f0a41f03
Use bounds checks in Huffman ctr. Fix #798
7 years ago
Peter Amrehn
880be0a5aa
#797 throw ImageFormatException when no StartOfFrame marker is found on a jpg image.
7 years ago
James Jackson-South
f2a4c4bfd6
Disable comparison since the reference decoders cannpt decode the image.
7 years ago
popow
c4d80dbbf4
updated unit test to be in line with the other tests
7 years ago
popow
a6919d4b15
added Test for decoding windows BMPv2 and one for a bitmap which has 4 bytes per color palette
7 years ago
popow
c0a0c6ec95
added unit test for decoding OS2 bitmap with 16 bytes header
7 years ago
Stephan Vedder
84aef78c1e
Work on 12-bit support
7 years ago
Stephan Vedder
51ed7c7191
Start work on jpeg 12 bit support
7 years ago
James Jackson-South
091ff6b5f5
Add large jpeg to 32bit skip
7 years ago
James Jackson-South
3235ce41b8
Fix trns preservation and add tests
7 years ago
James Jackson-South
6c2421b21f
Reduce allocatoins, check bit depth and rename.
7 years ago
Jason Nelson
0ee2a8ac4b
Add test coverage for #770
7 years ago
Anton Firszov
0c32fe7d19
fix Block8x8FTests.Copy1x1Scale, reorganize TestImages.Jpeg.BenchmarkSuite as a static class
7 years ago
Anton Firszov
f1f0bc04f9
Drop all GetBlockDataReference() usages
7 years ago
Anton Firszov
c5a4ed85ff
Even better Copy2x2. Tests: Group together & refactor profiling benchmarks
7 years ago
Anton Firszov
57cacaccb0
optimize ExifReader.ToEnum<TEnum>(...)
7 years ago
Anton Firszov
55ac40327a
reimplement Block8x8F.CopyTo2x2
7 years ago
Anton Firszov
b4c1f8bf37
AVX2 optimized Block8x8 -> Block8x8F conversion
7 years ago
James Jackson-South
22cf54b38a
Change tolerance for Net462
7 years ago
Anton Firszov
a459ff1077
InliningOptions.ShortMethod
7 years ago
Anton Firszov
fe6953f34c
remove yet another duplicate and drop the unused PdfJsOnly list
7 years ago
Dirk Lemstra
ec930e1a43
Removed duplicate item from the list.
7 years ago
James Jackson-South
b4689fd6f6
Add issue reference images
7 years ago
Anton Firszov
492d2d6b10
pass Configuration to Vector4 converters in PixelOperations
7 years ago
Anton Firszov
c328f6d87d
simplify IPixel method names: PackFrom*** -> From***
7 years ago
James Jackson-South
635ce2bede
Add generic palette quantizer, refactor + werner palette
7 years ago
James Jackson-South
01ee560c08
Use scaled luminance trns comparison.
7 years ago
Jason Nelson
473a7f40ab
Use ASCII Encoding when known to be ASCII
7 years ago
Jason Nelson
9b27fd2fe5
Use static Encoding.ASCII property
7 years ago
James Jackson-South
6f9875d946
Decode components in correct order + cleanup + optimizations.
7 years ago
James Jackson-South
77f6c1738f
Fix #721
7 years ago
James Jackson-South
27b3b00ea1
Add tests
7 years ago
James Jackson-South
0f412fc88b
Add tests for all supported png bit depths.
7 years ago
James Jackson-South
b36a58bcde
Clone => DeepClone
7 years ago
James Jackson-South
251ae936a7
Rename DeepClone => Clone
7 years ago
James Jackson-South
bcfece8a2c
Add metadata cloning tests
8 years ago
James Jackson-South
51e20ec788
Begin ToString() formatting.
8 years ago