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
James Jackson-South
4c0b0123a8
Reorder target frameworks ( #833 )
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
James Jackson-South
9c48c190a2
Track input stream position on load. ( #820 )
7 years ago
James Jackson-South
2849fd9c1d
Update dependencies + fix stylecop ( #816 )
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
b74e230671
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
93bb37394a
Use bounds checks in Huffman ctr. Fix #798
7 years ago
Peter Amrehn
59d76a0f7b
#797 - apply review remarks
7 years ago
Peter Amrehn
575c23d929
#797 throw ImageFormatException when no StartOfFrame marker is found on a jpg image.
7 years ago
James Jackson-South
133c85489d
Minor optimizations
7 years ago
popow
377a2e50a2
Os2Short -> Os22ShortSize
8 years ago
popow
10af2ed98c
fix for Windows 2.0 or OS/2 1.x bitmaps only use 3 bytes per color palette entry
8 years ago
popow
eb7d60b681
added parsing of the OS22XBITMAPHEADER short variant (16 bytes)
8 years ago
Shane Woolcock
50c3d7fd7a
Code sanity
8 years ago
Shane Woolcock
520d181b0d
AoT seed image encoders as well as decoders
8 years ago
Shane Woolcock
83d52d5f79
Seed unsafe calls from the static constructor.
8 years ago
James Jackson-South
1b2e794c5b
Use correct Kernel dimensions and optimize. Fix #786
8 years ago
Jason Nelson
c0db8f16e2
Use HashCode.Add when combining more than 8 hashcodes
8 years ago
Jason Nelson
77c54662a2
Replace HashHelpers with HashCode.Combine
8 years ago
James Jackson-South
3917e397f5
Fix #787
8 years ago
Stephan Vedder
4636fe687f
Fix style issues
8 years ago
Stephan Vedder
b17bda5e9a
Fix style issues
8 years ago
Stephan Vedder
5ef3f19c1f
Add missing Non-SIMD implementation
8 years ago
Stephan Vedder
ede120d5aa
Work on 12-bit support
8 years ago
Shane Woolcock
308e02eb2f
Adds more to the AoT compiler.
8 years ago
Stephan Vedder
5ee5da8f81
Start work on jpeg 12 bit support
8 years ago
Jason Nelson
18a75f4144
Cleanup assembly properties
8 years ago
Jason Nelson
31c2d4add6
Use GetHashCode when combining int values
8 years ago
Jason Nelson
44edf7df38
Remove indirection getting HashCode on ExifValue
8 years ago
Jason Nelson
d0f78c2a87
Update (hashCode * 397) pattern to use HashHelpers
8 years ago
Jason Nelson
c78fc1d2bd
Replace == null with is null
8 years ago
Jason Nelson
ac22630fba
Use new HashHelper overloads
8 years ago
Jason Nelson
7eb0c3c349
Ensure exifData is set
8 years ago
Anton Firszov
0fb40155be
Revert "temporary simplification of build targets"
This reverts commit e9dddc5d4a .
8 years ago
Anton Firszov
e9dddc5d4a
temporary simplification of build targets
8 years ago
Anton Firszov
cd6d07e3fc
Made TolerantMath.Default a readonly property,
allow consuming one-dimensional input in ImageDataAttribute.
8 years ago
Anton Firszov
ab4cae48ac
improve comments again
8 years ago
Anton Firszov
772cdda978
better comments + TolerantMath made readonly
8 years ago
Anton Firszov
d4ff2a44f0
remove outdated TODO note
8 years ago
Anton Firszov
b4271cc20d
robust ResizeKernelMap calculations using TolerantMath
8 years ago