Brian Popow
00db2e9256
Actually use pixel type from encoder in ExrEncoderCore constructor
4 weeks ago
Brian Popow
d98ffac34c
Add test for setting pixel type for encoding exr images
4 weeks ago
Brian Popow
ce545b7892
Fix stylecop complains
4 weeks ago
Brian Popow
1e69aa45ab
Add additional doc strings
4 weeks ago
Brian Popow
af14463b07
Add better test image for uint rgba pixel type
4 weeks ago
Brian Popow
15701e5e84
Write alpha channel when encoding exr images
4 weeks ago
Brian Popow
372299744a
Fix mistake when encoding uint pixel data: value from Rgb96.FromVector4 was not used
4 weeks ago
Brian Popow
b15625e775
Merge branch 'main' into bp/openExr
4 weeks ago
Brian Popow
29f558a801
Add test case for uint pixel type with alpha
4 weeks ago
Brian Popow
0ceeba4461
Remove no longer needed ColorScaleTo32Bit()
4 weeks ago
Brian Popow
5926455cef
Remove ExrCompression property from ExrBaseCompression, it is not needed
4 weeks ago
Brian Popow
b4cd27f2c9
Remove unnecessary ColorScaleTo32Bit when decoding pixel type uint32
4 weeks ago
Brian Popow
51463a368d
Better test image for uint pixel type
4 weeks ago
Anton Firszov
25b3567482
Benchmark parallelization ( #3111 )
* add parallel processing benchmarks
* introduce RunExperiment and fix warnings in test code
* fix benchmarks
* proper ProcessorThroughputTest
* test additional processors
* ProcessorThroughputTest -> ProcessorThroughputBenchmark
* add DrawImage to ParallelProcessing benchmark
* readonly
* Disable BMP tests -- https://github.com/SixLabors/ImageSharp/issues/3112
* revert ImageMagick update
* delete CountingUnit
* rename field
1 month ago
James Jackson-South
fb3297753b
Merge branch 'main' into bp/openExr
1 month ago
James Jackson-South
d3ca6ebd33
Merge pull request #3110 from SixLabors/js/parallel-settings
Allow -1 (unbounded) parallelism; validate settings
1 month ago
James Jackson-South
ad58e74505
Allow -1 (unbounded) parallelism; validate settings
1 month ago
Brian Popow
2abbedcd64
Merge branch 'main' into bp/openExr
1 month ago
Brian Popow
24dbf639c5
Fix issues with pixel conversions in Rgba128
1 month ago
Brian Popow
e611b1e018
Add tests for Rgba128
1 month ago
James Jackson-South
cc9a514409
Merge pull request #3109 from SixLabors/js/modern-porter-duff
Modernize PorterDuffFunctions with operators and add tests
1 month ago
James Jackson-South
fd688db0eb
Complete implementation and add tests/benchmark
1 month ago
James Jackson-South
5e4f3ef1ff
Use operators in generated functions
1 month ago
James Jackson-South
1c5e3e1a69
Modernize base PorterDuffFunctions
1 month ago
Brian Popow
0ec523f068
Add null check for PixelComponentInfo in Rgb96_PixelInformation()
1 month ago
Brian Popow
3fbf0ef552
Merge branch 'main' into bp/openExr
1 month ago
Brian Popow
787ebb205d
Try fix issues with Rgb96 pixel conversions
1 month ago
Brian Popow
d1623fee63
Add tests for Rgb96 pixel conversions
1 month ago
James Jackson-South
66f21f7ae5
Merge pull request #3108 from SixLabors/js/imageinfobytes
Add ImageInfo.GetPixelMemorySize; docs & tests
1 month ago
James Jackson-South
c9f7e6ea60
Add ImageInfo.GetPixelMemorySize; docs & tests
1 month ago
James Jackson-South
703d1baf2d
Merge pull request #3101 from andreas-eriksson/ImageInfo.FrameMetadataCollection-not-populated-correctly-for-animated-png-images
Fix Identify returning incorrect frame count for animated PNGs
1 month ago
James Jackson-South
2a13a716cf
Merge branch 'main' into ImageInfo.FrameMetadataCollection-not-populated-correctly-for-animated-png-images
1 month ago
James Jackson-South
b6c4bb824c
Merge pull request #3107 from SixLabors/js/quantizer-cache
Update and simplify quantization color caches and tests
1 month ago
James Jackson-South
f0ce591a64
Rename quantizer and update tests
1 month ago
James Jackson-South
90f0c0b5d4
Update and simplify quantization color caches.
1 month ago
Andreas
9569449ac4
Fix MaxFrames handling in PNG decoder
- Change >= to > for correct MaxFrames boundary
- Skip fdAT chunk data when hitting maxFrames in Identify to maintain stream alignment
- Add tests for Identify and Load with MaxFrames
1 month ago
Andreas
a76c02f7c0
Replace test image with a smaller one.
Adjusted Identify_AnimatedPng_ReadsFrameCountCorrectly to expect 48 frames instead of 50.
1 month ago
James Jackson-South
05c89f72cf
Merge branch 'main' into bp/openExr
1 month ago
James Jackson-South
043ee2b325
Merge pull request #3105 from SixLabors/js/fix-3104
Fix JPEG SIMD slicing and padding length handling.
1 month ago
James Jackson-South
e06a015cf5
Fix SIMD slicing and padding length handling. Fix #3104
1 month ago
James Jackson-South
2916204d7f
Merge branch 'main' into bp/openExr
1 month ago
Brian Popow
1853289863
Evaluate return value of stream.Read() to make sure enough data was read
1 month ago
James Jackson-South
20c4ec68d2
Merge branch 'main' into ImageInfo.FrameMetadataCollection-not-populated-correctly-for-animated-png-images
1 month ago
James Jackson-South
b10a7eda4b
Merge pull request #3102 from SixLabors/js/blend-perf-fixes
Add working-buffer blending and adjust row APIs
1 month ago
James Jackson-South
b33f288a90
Add working-buffer blending and adjust row APIs
1 month ago
Andreas Eriksson
7b13e1df1b
Add generated animated PNG tests for Identify and Decode frame counts
1 month ago
Brian Popow
0aeaaf7759
Move ReadSingle() to ExrDecoderCore
1 month ago
Andreas Eriksson
ac1905328d
Fix Identify returning incorrect frame count for animated PNGs
The Identify method had two bugs when processing fdAT (FrameData) chunks:
1. A spurious Skip(4) before SkipChunkDataAndCrc caused the stream to
be misaligned by 4 bytes, since chunk.Length already includes the
4-byte sequence number.
2. Unlike Decode, which consumes all fdAT chunks for a frame in one shot
via ReadScanlines + ReadNextFrameDataChunk, Identify processed them
individually, calling InitializeFrameMetadata for each chunk and
inflating the frame count.
The fix removes the extra Skip(4) and adds SkipRemainingFrameDataChunks
to consume all continuation fdAT chunks for a frame, mirroring how
ReadNextFrameDataChunk works during decoding.
1 month ago
Brian Popow
84182c5aaf
Remove more unused variables
1 month ago
Brian Popow
fccd5b55d9
Remove unused variables
1 month ago