antonfirsov
fa434dd7f5
Add tests for high precision Color cases
2 years ago
James Jackson-South
eb5aec593d
Merge branch 'main' into js/png-pallete
2 years ago
James Jackson-South
63d1d2c10b
Merge pull request #2530 from SixLabors/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2 years ago
James Jackson-South
e995a13620
Update WuQuantizer{TPixel}.cs
2 years ago
James Jackson-South
6ad24af03c
Use safe iteration for reading color palette.
2 years ago
James Jackson-South
3b249e0823
Merge branch 'main' into dependabot/github_actions/actions/checkout-4
2 years ago
James Jackson-South
78fd1b9535
Merge branch 'main' into js/png-pallete
2 years ago
James Jackson-South
945a83f811
Merge pull request #2455 from SixLabors/js/gif-fixes
Preserve Gif color palettes and deduplicate frame pixels.
2 years ago
James Jackson-South
9ddebdd1c5
Merge branch 'main' into js/gif-fixes
2 years ago
James Jackson-South
da4d4d7f5c
Merge pull request #2535 from JeffP134/main
Fix for issue 2504 - IPTC and ICC profile information being lost during TIFF file save
2 years ago
Jeffrey Parker
bf261f0d5e
Stylecop extra blank line issue fixed. Refactored code to extract common logic.
2 years ago
Jeffrey Parker
1e53adf85e
Fix for issue 2504 - ensuring image and individual frame metadata are written out correctly
2 years ago
James Jackson-South
b56633e2f0
Review fixes
2 years ago
dependabot[bot]
413f9f62a4
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
James Jackson-South
c17eacf05f
Merge branch 'main' into js/gif-fixes
2 years ago
Anton Firszov
54b7e04f7a
Fix #2518 ( #2519 )
* OilPaint benchmark
* fix #2518
* Update OilPaintingProcessor{TPixel}.cs
* clamp the vector to 0..1 and undo buffer overallocation
* throw ImageProcessingException instead of clamping
---------
Co-authored-by: James Jackson-South <james_south@hotmail.com>
2 years ago
antonfirsov
b48dbc5087
if transparencyIndex is outside the palette, ignore it
2 years ago
James Jackson-South
9335a16a53
Merge pull request #2523 from SixLabors/js/jpeg-eof-dos
Handle EOF in Jpeg bit reader when data is bad to prevent DOS attack.…
2 years ago
James Jackson-South
ed3860cfda
Handle EOF in Jpeg bit reader when data is bad to prevent DOS attack. ( #2516 )
* Handle EOF in bit reader when data is bad.
* Allow parallel processing of multi-megapixel image
* Stream seek can exceed the length of a stream
* Try triggering on release branches
* Update JpegBitReader.cs
* Skin on Win .NET 6
* All Win OS is an issue
* Address feedback
* add validation to CanIterateWithoutIntOverflow
---------
Co-authored-by: antonfirsov <antonfir@gmail.com>
2 years ago
James Jackson-South
1a6b46504d
Cleanup based on feedback
3 years ago
James Jackson-South
c7da0705d6
Merge branch 'js/gif-fixes' into js/png-pallete
3 years ago
James Jackson-South
c0ca0cc48c
Merge branch 'main' into js/gif-fixes
3 years ago
James Jackson-South
e81efa3ca6
Merge pull request #2515 from SixLabors/js/reverse-implicit-usings
Reverse automatic include behavior.
3 years ago
James Jackson-South
2ad035bf5f
Reverse include behaviour
3 years ago
James Jackson-South
978776106a
Use different default pixel sampling strategy for PNG
3 years ago
James Jackson-South
c3ed86d135
Merge branch 'js/gif-fixes' into js/png-pallete
3 years ago
James Jackson-South
f9e10ae130
Merge branch 'main' into js/gif-fixes
3 years ago
James Jackson-South
4ef363df5d
Only compare a subset of frames.
3 years ago
James Jackson-South
77d49e6732
Merge pull request #2501 from SixLabors/js/pbm-dos
Prevent crafted DOS attack.
3 years ago
James Jackson-South
f38ebfbd05
Merge branch 'js/gif-fixes' into js/png-pallete
3 years ago
James Jackson-South
949e6adcb2
Merge pull request #2500 from gfoidl/git-transparency-simd
Vectorize TrimTransparentPixels in GifEncoderCore
3 years ago
James Jackson-South
ef5fe795d0
Prevent crafted DOS attack.
3 years ago
Günther Foidl
c8f1f2c89d
Simplified check if there are any non-equal bytes
Hm, I remembered that movemask isn't the fastest, and ptest (TestZ in .NET-terms) is faster but current benchmarks didn't prove this, also Intel's instruction table didn't show any benefit in terms of latency or throughput.
Thus simplified that check.
3 years ago
Günther Foidl
5416edb6bc
Vectorize TrimTransparentPixels in GifEncoderCore
3 years ago
James Jackson-South
fdbaafe449
Merge branch 'js/gif-fixes' into js/png-pallete
3 years ago
James Jackson-South
4b15595c6b
Merge branch 'main' into js/gif-fixes
3 years ago
James Jackson-South
ef08c82dbc
Update src/ImageSharp/Formats/Gif/GifEncoderCore.cs
3 years ago
James Jackson-South
c3fc06261e
Update src/ImageSharp/Formats/Gif/GifEncoderCore.cs
3 years ago
James Jackson-South
98ed0f1070
Refactor and fix gif encoder
3 years ago
James Jackson-South
900e9d0171
Merge pull request #2446 from LuisAlfredo92/main
Adding QOI support
3 years ago
James Jackson-South
59c4a6a790
Merge branch 'main' into main
3 years ago
James Jackson-South
b2ac9bbf24
Merge pull request #2482 from SixLabors/js/jpeg_JFXX
Allow JFXX as an App0 marker header
3 years ago
Anton Firszov
eb5c6a703f
private QoiMetadata(QoiMetadata other)
3 years ago
Anton Firszov
1069a6d332
Merge branch 'main' into main
3 years ago
James Jackson-South
3325380449
Merge branch 'js/gif-fixes' into js/png-pallete
3 years ago
James Jackson-South
f33f67d7ab
Merge branch 'main' into js/gif-fixes
3 years ago
James Jackson-South
a29b5fc9a2
Trim buffer to minimum region.
3 years ago
James Jackson-South
9f0fba4f05
Merge branch 'main' into js/jpeg_JFXX
3 years ago
James Jackson-South
c68be044ea
Merge pull request #2488 from Neme12/asyncIO
Use `FileOptions.Asynchronous` when doing async IO
3 years ago
LuisAlfredo92
472bc04f3d
Fixing extensions, class access and StyleCop
3 years ago