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
57557793ec
Merge pull request #804 from SixLabors/js/fix798
Use bounds checks in Huffman ctr. Fix #798
7 years ago
James Jackson-South
93bb37394a
Use bounds checks in Huffman ctr. Fix #798
7 years ago
James Jackson-South
441942b771
Merge pull request #801 from jongleur1983/797-LoadThrowsNRE-bySharpFuzz
#797 throw ImageFormatException when no StartOfFrame marker is found
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
db0fc0dd7d
Merge pull request #784 from feliwir/jpeg-12bit
Jpeg 12 bit support
7 years ago
James Jackson-South
537dbcf78b
Update reference images and decoder
7 years ago
James Jackson-South
133c85489d
Minor optimizations
7 years ago
James Jackson-South
8cba23f42d
Merge remote-tracking branch 'upstream/master' into jpeg-12bit
7 years ago
James Jackson-South
abaf5581b6
Merge pull request #792 from brianpopow/feature/BMPv2ColorPaletteFix
WIP: Fix for Windows 2.0 or OS/2 1.x bitmaps only use 3 bytes per color palette entry
7 years ago
James Jackson-South
2f3c0fce47
Use S.D in Windows.
7 years ago
James Jackson-South
890134cec6
Fix reference tests
7 years ago
James Jackson-South
c1c70f1f4f
Merge remote-tracking branch 'upstream/master' into feature/BMPv2ColorPaletteFix
7 years ago
James Jackson-South
4f1e6249cf
Merge pull request #791 from brianpopow/feature/BmpOS22ShortSupport
WIP: Adds support for Decoding Bitmaps with 16 bytes headers
7 years ago
James Jackson-South
ddb524d1a5
Merge remote-tracking branch 'upstream/master' into feature/BMPv2ColorPaletteFix
7 years ago
James Jackson-South
5ef46927fc
Use MagickReferenceDecoder for bmp.
7 years ago
James Jackson-South
7e55d2277f
Disable comparison since the reference decoders cannpt decode the image.
7 years ago
James Jackson-South
ce6cfa01c8
Merge remote-tracking branch 'upstream/master' into feature/BmpOS22ShortSupport
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
James Jackson-South
c3a6040cdf
Merge pull request #785 from swoolcock/more-aot-compiling
Add more seeding to the AoT compiler for iOS
7 years ago
James Jackson-South
24236c8880
Merge branch 'master' into more-aot-compiling
7 years ago
James Jackson-South
cbfb8dc23a
Merge pull request #789 from SixLabors/js/fix-gaussian
Use correct Kernel dimensions and optimize. Fix #786
7 years ago
popow
377a2e50a2
Os2Short -> Os22ShortSize
7 years ago
popow
10af2ed98c
fix for Windows 2.0 or OS/2 1.x bitmaps only use 3 bytes per color palette entry
7 years ago
popow
c25c34b476
added unit test for decoding OS2 bitmap with 16 bytes header
7 years ago
popow
eb7d60b681
added parsing of the OS22XBITMAPHEADER short variant (16 bytes)
7 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
2c3765bf50
Merge branch 'master' into more-aot-compiling
8 years ago
Shane Woolcock
83d52d5f79
Seed unsafe calls from the static constructor.
8 years ago
James Jackson-South
d7a4688da2
Merge branch 'master' into js/fix-gaussian
8 years ago
James Jackson-South
590609a9b3
Merge pull request #783 from carbon/cq10
Improve CQ10
8 years ago
James Jackson-South
1b2e794c5b
Use correct Kernel dimensions and optimize. Fix #786
8 years ago
James Jackson-South
4568a4bfce
Merge branch 'master' into cq10
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
944690002f
Merge pull request #788 from SixLabors/js/fix-transforms
Fix Projective Transforms
8 years ago
James Jackson-South
3917e397f5
Fix #787
8 years ago
Stephan Vedder
4636fe687f
Fix style issues
8 years ago
Jason Nelson
db841b7141
Merge branch 'master' into cq10
8 years ago
James Jackson-South
4544512771
Merge pull request #782 from SixLabors/af/resize1
Revised & extended test coverage for Resize
8 years ago