7508 Commits (2876f2f44d0bc363450eda0f81da6db9da7fbb4d)

Author SHA1 Message Date
Brian Popow 2876f2f44d Use nint, determine what's white only once 4 years ago
Brian Popow 432c0d7262 Avoid bounds checks in BlackIsZero and WhiteIsZero 4 years ago
Brian Popow c7aaf10411 Use GetRowSpan 4 years ago
Brian Popow 57349fd0ae Avoid writing zero bit, we already have a clean buffer 4 years ago
Brian Popow 07d2e79c38 Avoid more bounds checks 4 years ago
Brian Popow 0ae59fdba4 Avoid bounds checks in GetBit() 4 years ago
Brian Popow cecd7f29d7 Add MethodImpl(InliningOptions.ShortMethod) for SwapColor 4 years ago
Brian Popow c0059fc599 Avoid calculating bit position multiple times 4 years ago
Brian Popow 8459828aad Use GetRowSpan to access pixel data 4 years ago
Brian Popow 0cf4d9172f Add InliningOptions.ShortMethod for WriteBit methods 4 years ago
Brian Popow 4e84800728 Fallback to id color deduction for adobe marker 4 years ago
Brian Popow e42fdd09f2 Change deducing color space according to review 4 years ago
Brian Popow 58927f327b Also set color type to rgb, when compression is jpeg 4 years ago
Brian Popow 535372da09 Another attempt to get deducing jpeg color space right 4 years ago
Brian Popow 44c1ad58b1 Use flag to indicate if JFIF marker is present (invalid markers also count) 4 years ago
Brian Popow 30e4354985 JFIF implies YCbCr 4 years ago
Brian Popow 89668a6e4d 3-channel non-subsampled images are assumed to be RGB. 4 years ago
Brian Popow c1c4f528c7 If component Id's are 1-3 for a 3-channel image, then the image is assumed to be YCbCr 4 years ago
Brian Popow 82e7ac14f0 Override PhotometricInterpretation to RGB, if it's YCbCr and Jpeg compressed 4 years ago
Brian Popow f15b336f86 Fix issue disposing tmp buffer too early 4 years ago
Brian Popow 980a1f043c Use bulk conversion in AlphaBlend 4 years ago
James Jackson-South 8528f1a33e Optimize RestoreToBackground 4 years ago
Brian Popow 2a8418f986 Review changes 4 years ago
Brian Popow a0e38c87b0 Use memory stream for uncompressed data instead of a list 4 years ago
Brian Popow d43ec499e3 Use memory allocator for destination buffer for the uncomressed bytes 4 years ago
Brian Popow 2dd35982e7 Avoid allocation, remove code duplication for decompressing zlib data 4 years ago
Brian Popow b025d29de4
Apply suggestions from code review 4 years ago
Brian Popow 35d1473d7a Use const color profile name 4 years ago
Brian Popow 9b5d56f585 Preserve color profile when encoding png's 4 years ago
Brian Popow 1c474c7758 Add decoding color profile chunk 4 years ago
Brian Popow 5bac8b36bf Add test for ICCP 4 years ago
Brian Popow 43c83dabc7 Preserve color profile when encoding webp 4 years ago
Brian Popow 5388489d38 Add color profile tests 4 years ago
Brian Popow 106f6c0a9b Write color profile, if present 4 years ago
Brian Popow 6991fd13bd Read ICC profile from v5 header 4 years ago
Brian Popow fa86a04464 Fix writing bitmap v4 header 4 years ago
Brian Popow f74dbac80b Add parsing bitmap V5 header 4 years ago
Berkan Diler 0661f14789 Replace Array.Clear(array, 0, array.Length) calls with Array.Clear(array) 4 years ago
Brian Popow 89d1582da8 Add missing dispose of webpInfo 4 years ago
Berkan Diler ed3cda5070 Use ReadOnlySpan<byte> static data compiler optimization in more places 4 years ago
Brian Popow 0a08940eb2 IJpegComponent -> JpegComponent 4 years ago
James Jackson-South d8012cab6f Use .NET 6 only 4 years ago
James Jackson-South 2ac18d816f Optimize tiff/jpeg checks 4 years ago
Dmitry Pentin 55d01f231f Added guard clause of empty exif strings 4 years ago
Dmitry Pentin 210945f939 Fixed compilation error for older frameworks 4 years ago
Dmitry Pentin c7f9d54705 Fixed string exif value corner case null ref exception 4 years ago
Dmitry Pentin 8cdcda343b Added sanity check for every jpeg marker 4 years ago
miere43 03d0b63c7c Fix chunk data memory leak when decoding PNG. Fix #2080 4 years ago
Scott Williams f4f521cc5b revert to allow easier merge 4 years ago
Scott Williams f597507500 fix comment 4 years ago