James Jackson-South
5e4f3ef1ff
Use operators in generated functions
1 month ago
James Jackson-South
1c5e3e1a69
Modernize base PorterDuffFunctions
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
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
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
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
James Jackson-South
bd19151219
Merge pull request #3094 from SixLabors/bp/Issue3093
PNG: Throw InvalidImageContentException when frame control chunk does not have enough data
1 month ago
Brian Popow
4e81c02b5d
Add test case for Issue #3093
2 months ago
Brian Popow
43f952cf00
Throw InvalidImageContentException when frame control chunk does not have enough data
2 months ago
James Jackson-South
36334cd9ef
Merge pull request #3089 from SixLabors/js/pixel-blenders
Expand pixel blender API to support single color bulk operations and fix transforms.
2 months ago
James Jackson-South
4b30c4ea10
Expand pixel blender API to support single color bulk operations
2 months ago
James Jackson-South
fcd8087a8a
Merge pull request #3084 from SixLabors/bp/fixIssue3082
PNG: Should Not Throw Exception when alpha.Length > colorTable.Length in tRNS chunk
2 months ago
Brian Popow
c512b142f9
If alpha length is greater then colorTable, slice length to colorTable length
2 months ago
Brian Popow
9c9b6124f3
Add test case for alpha.Length > colorTable.Length
2 months ago
Brian Popow
d355fc0e32
Throw Exception when alpha.Length > colorTable.Length in tRNS chunk
2 months ago
James Jackson-South
89face0b89
Merge pull request #3081 from SixLabors/bp/fixIssue3079
Add checks, if enough data is present when reading PNG text chunks
2 months ago
Brian Popow
8d78fe0b08
Add test case for truncated data after language tag
2 months ago
Brian Popow
52c74b563e
Add check, if translatedKeywordLength is < 0
2 months ago
Brian Popow
457436d970
Add test case for not enough data reading InternationalText chunk
2 months ago
Brian Popow
fca50b9678
Add check for enough data in ReadInternationalTextChunk()
2 months ago
Brian Popow
eab4147235
Add test case for not enough data after keyword end
2 months ago
Brian Popow
ba01f9c125
Add check in ReadCompressedTextChunk() for enough data after keyword end
2 months ago
James Jackson-South
533ed51d3a
Merge pull request #3076 from SixLabors/dependabot/github_actions/actions/upload-artifact-7
Bump actions/upload-artifact from 6 to 7
2 months ago
James Jackson-South
65dd8bd587
Merge pull request #3080 from SixLabors/bp/fixIssue3078
Add check for span length in parse PNG pHYs chunk
2 months ago
James Jackson-South
5842434b7d
Merge branch 'main' into bp/fixIssue3078
2 months ago
James Jackson-South
0d53f96665
Merge pull request #3077 from SixLabors/js/transform-enhancements
Add Matrix4x4 transform overloads and corresponding tests
2 months ago
James Jackson-South
fb7464e10f
Update README.md
2 months ago
James Jackson-South
b0f81fac2d
Add Clear method to matrix builders.
2 months ago
Brian Popow
60c556cd2a
Remove not used using, change ImageFormatException to InvalidImageContentException
2 months ago
Brian Popow
93b9345ab8
Add test case for #3078
2 months ago
Brian Popow
be852be474
Add check for span length in parse png physical chunk
2 months ago
dependabot[bot]
96fa49feea
Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
James Jackson-South
fefab915c8
Merge branch 'main' into js/transform-enhancements
2 months ago
James Jackson-South
d734a16049
Merge pull request #3057 from SixLabors/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 4 to 6
2 months ago
James Jackson-South
7632f8e941
Add Matrix4x4 transform overloads and tests
2 months ago
James Jackson-South
68ccc1d9ed
Merge branch 'main' into dependabot/github_actions/actions/checkout-6
2 months ago
James Jackson-South
461c021608
Merge pull request #3075 from SixLabors/bp/fixIssue3074
Add check, if Offset is greater then stream length when reading bitmap colorMapSize
2 months ago
Brian Popow
7d608dd087
Add test case for issue #3074
2 months ago