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
5 months ago
James Jackson-South
4eb19aa7f4
Merge branch 'main' into js/accumulative-memory-limit
5 months ago
James Jackson-South
fb3297753b
Merge branch 'main' into bp/openExr
5 months ago
James Jackson-South
d3ca6ebd33
Merge pull request #3110 from SixLabors/js/parallel-settings
Allow -1 (unbounded) parallelism; validate settings
5 months ago
James Jackson-South
ad58e74505
Allow -1 (unbounded) parallelism; validate settings
5 months ago
Brian Popow
2abbedcd64
Merge branch 'main' into bp/openExr
5 months ago
Brian Popow
24dbf639c5
Fix issues with pixel conversions in Rgba128
5 months ago
Brian Popow
e611b1e018
Add tests for Rgba128
5 months ago
James Jackson-South
cc9a514409
Merge pull request #3109 from SixLabors/js/modern-porter-duff
Modernize PorterDuffFunctions with operators and add tests
5 months ago
James Jackson-South
fd688db0eb
Complete implementation and add tests/benchmark
5 months ago
James Jackson-South
b7f3bbb9da
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-6
5 months ago
James Jackson-South
5e4f3ef1ff
Use operators in generated functions
5 months ago
James Jackson-South
1c5e3e1a69
Modernize base PorterDuffFunctions
5 months ago
Brian Popow
0ec523f068
Add null check for PixelComponentInfo in Rgb96_PixelInformation()
5 months ago
Brian Popow
3fbf0ef552
Merge branch 'main' into bp/openExr
5 months ago
Brian Popow
787ebb205d
Try fix issues with Rgb96 pixel conversions
5 months ago
Brian Popow
d1623fee63
Add tests for Rgb96 pixel conversions
5 months ago
James Jackson-South
66f21f7ae5
Merge pull request #3108 from SixLabors/js/imageinfobytes
Add ImageInfo.GetPixelMemorySize; docs & tests
5 months ago
James Jackson-South
c9f7e6ea60
Add ImageInfo.GetPixelMemorySize; docs & tests
5 months ago
James Jackson-South
4259ca7356
Merge branch 'main' into js/accumulative-memory-limit
5 months 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
5 months ago
James Jackson-South
2a13a716cf
Merge branch 'main' into ImageInfo.FrameMetadataCollection-not-populated-correctly-for-animated-png-images
5 months ago
James Jackson-South
b6c4bb824c
Merge pull request #3107 from SixLabors/js/quantizer-cache
Update and simplify quantization color caches and tests
5 months ago
James Jackson-South
f0ce591a64
Rename quantizer and update tests
5 months ago
James Jackson-South
90f0c0b5d4
Update and simplify quantization color caches.
5 months 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
5 months ago
Andreas
a76c02f7c0
Replace test image with a smaller one.
Adjusted Identify_AnimatedPng_ReadsFrameCountCorrectly to expect 48 frames instead of 50.
5 months ago
James Jackson-South
05c89f72cf
Merge branch 'main' into bp/openExr
5 months ago
James Jackson-South
043ee2b325
Merge pull request #3105 from SixLabors/js/fix-3104
Fix JPEG SIMD slicing and padding length handling.
5 months ago
James Jackson-South
e06a015cf5
Fix SIMD slicing and padding length handling. Fix #3104
5 months ago
James Jackson-South
2916204d7f
Merge branch 'main' into bp/openExr
5 months ago
James Jackson-South
19130efb42
Merge branch 'main' into js/accumulative-memory-limit
5 months ago
Brian Popow
1853289863
Evaluate return value of stream.Read() to make sure enough data was read
5 months ago
James Jackson-South
20c4ec68d2
Merge branch 'main' into ImageInfo.FrameMetadataCollection-not-populated-correctly-for-animated-png-images
5 months ago
James Jackson-South
b10a7eda4b
Merge pull request #3102 from SixLabors/js/blend-perf-fixes
Add working-buffer blending and adjust row APIs
5 months ago
James Jackson-South
b33f288a90
Add working-buffer blending and adjust row APIs
5 months ago
Andreas Eriksson
7b13e1df1b
Add generated animated PNG tests for Identify and Decode frame counts
5 months ago
Brian Popow
0aeaaf7759
Move ReadSingle() to ExrDecoderCore
5 months 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.
5 months ago
Brian Popow
84182c5aaf
Remove more unused variables
5 months ago
Brian Popow
fccd5b55d9
Remove unused variables
5 months ago
Brian Popow
802e275e8e
Use CompareToReferenceOutput for failing bmp tests on linux
5 months ago
dependabot[bot]
719ebb84b8
Bump codecov/codecov-action from 5 to 6
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
5 months ago
Brian Popow
e6a9980daf
Change expectedDefaultConfigurationCount to 12
5 months ago
Brian Popow
0c3ca3da24
Fix failing bmp tests
5 months ago
Brian Popow
65df7c29d0
Merge branch 'main' into bp/openExr
5 months ago
Brian Popow
a1152c5dc3
Add some more comments
5 months ago
Brian Popow
7939cc9514
Throw InvalidImageContentException when requiered header fields are missing
5 months ago
Brian Popow
a9f6dbc68b
Add compression to exr metadata
5 months ago
Brian Popow
b95663489e
Add tests for exr metadata
5 months ago