7526 Commits (3af2dd7720ca35060348ea0a50e4e430b9015358)

Author SHA1 Message Date
Brian Popow 3af2dd7720 Multiply by inv max value instead of dividing in GeneratePalette 4 years ago
Brian Popow 035c31e826 Make sure 1 Bit compression is only used with 1 bit pixel type 4 years ago
Brian Popow 1b7f800c07 Minor: Another instance of use Numerics.Modulo8 instead of % 8 4 years ago
Brian Popow 7434643eee
Remove no longer valid comment 4 years ago
Brian Popow 8ff29a1a3f PackBitsTiffCompression: Use Slice.Fill to repeat the data 4 years ago
Brian Popow 50c1aab54f Use stackalloc 4 years ago
Brian Popow 10ff24fa87 Loop unroll 4 years ago
Brian Popow affb1430f2 Remove no longer valid comments 4 years ago
Brian Popow 29b4647cf0 Remove no longer needed Vector4.Zero workaround for netcore2.1 4 years ago
Brian Popow 188b5cd2c6 Use more nint 4 years ago
Brian Popow d5a3de1184 Avoid using Dictionary's 4 years ago
Brian Popow 98b96fe0a9 Use nint 4 years ago
Brian Popow 962466144a Avoid reading all compressed data at once: instead read byte by byte from the stream to avoid allocation 4 years ago
Brian Popow 62de4589d5 Stream -> BufferedReadStream 4 years ago
Brian Popow f0f08e83b4 Use Numerics.Modulo8 4 years ago
Brian Popow a26bfe0123 Access data span only for new byte, not for every bit 4 years ago
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 dd6b4c11fd Deduce color space as YCbCr if component id's are 1, 2, 3 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