James Jackson-South
3d3f49fab8
Refine alpha conversion and AOT seeding
Introduce explicit associated/unassociated pixel conversion APIs across `IPixel` and `PixelOperations`, and rework associated-alpha operations to use representation-aware bulk hooks. Update pixel implementations, converters, blenders, and generated code to consistently apply `Premultiply`/`UnPremultiply` semantics, plus SIMD-backed conversion paths for half and signed formats.
Fix codec and processing behavior where alpha handling was incorrect or lossy (notably TIFF/EXR decode/encode, convolution/resize/filter/normalization/dithering paths), and add targeted tests for these cases. Expand AOT compiler roots (including EXR and additional pixel/processor coverage), add a new public API test project for pixel-operations extensibility, and add broad alpha-representation and quantization regression coverage.
3 months ago
Stefan Nikolei
fd04531820
Check for SSE42 not SSE
11 months ago
Stefan Nikolei
eca4734ad1
Add more usermessages
11 months ago
Stefan Nikolei
6aad0e733e
In .net8 there is no grouping
11 months ago
Stefan Nikolei
330ca36b39
SSE2 ist not disabled by SSE42
11 months ago
Stefan Nikolei
994c37b353
SSE is not disabled by SSE42
11 months ago
Stefan Nikolei
1d1aa0ae4f
Add usermessages to asserts
11 months ago
Stefan Nikolei
ad4b3e90b2
Update ISA Groups
https://github.com/dotnet/runtime/issues/121685#issuecomment-3539194032
11 months ago
Stefan Nikolei
5de26525fe
Convert CodeBase to collection Expressions
1 year ago
Stefan Nikolei
18b8b662e9
Use Target Type new only when apparent
1 year ago
Stefan Nikolei
57f5966fe7
use Explicit Types and Target Type new
1 year ago
James Jackson-South
a06511f6d2
Initialize pixel type info from decoder.
2 years ago
James Jackson-South
dfd983f17c
Update library to use new pixel API
3 years ago
James Jackson-South
66f444d200
Fix alpha blending and add tests
3 years ago
James Jackson-South
f73cdb0520
Expose non-nullable configuration to remove null check
3 years ago
James Jackson-South
c21bbbd531
Allow returning individual image frame metadata via Identify.
4 years ago
James Jackson-South
b8a76143cc
Recreate @brianpopow 's changes
4 years ago
James Jackson-South
289d7eef30
Update tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
Co-authored-by: Scott Williams <tocsoft@gmail.com>
4 years ago
James Jackson-South
7af3cf1fff
Update tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
Co-authored-by: Scott Williams <tocsoft@gmail.com>
4 years ago
James Jackson-South
89d6fc8d69
Expose ImageInfo and add IImageFormat to metadata
4 years ago
James Jackson-South
c550af8c5a
Re-introduce IImageEncoder and split encoding pipelines.
4 years ago
James Jackson-South
1d994132ef
Re-introduce IImageDecoder and split decoding pipelines.
4 years ago
James Jackson-South
93a17007e6
Use new not shared options.
4 years ago
James Jackson-South
5726089a7c
Make decoder options init only (except Configuration cos tests)
4 years ago
James Jackson-South
31def5c753
Replace IImageEncoder
4 years ago
James Jackson-South
19bdeccd11
Replace IImageDecoder
4 years ago
James Jackson-South
0e9a066195
FS Namespaces and Implicit Global Usings
4 years ago
James Jackson-South
89faddfa71
Fix build
4 years ago
James Jackson-South
ac4fb62eeb
Only expose sanitized decoder methods.
4 years ago
James Jackson-South
d29cf8abf4
Implement specialized options for limited types, add extensions.
4 years ago
James Jackson-South
eee64f25d6
Remove SUPPORTS conditions
4 years ago
James Jackson-South
6dbc5ec70a
Fix param caching test
4 years ago
James Jackson-South
1c2d1f42e2
Update tests and fix issues
4 years ago
James Jackson-South
97baeaf438
Update all files
4 years ago
James Jackson-South
205df12e4e
Remove DisableSIMD
5 years ago
James Jackson-South
bda5418356
Update FeatureTestRunnerTests.cs
5 years ago
Dan Kroymann
eb7b9d9f9b
Remove IImageDecoder.DecodeAsync() and IImageInfoDetector.IdentifyAsync()
5 years ago
Dan Kroymann
3a11b2f382
Plumb CancellationToken through IImageDecoder and IImageInfoDetector methods
5 years ago
Ynse Hoornenborg
c6f9050a5e
Initial Abgr32 pixel format implementation
5 years ago
James Jackson-South
27e6b58643
Final final warnings
5 years ago
Anton Firszov
255802cd9b
improve comment
5 years ago
Anton Firszov
816a379218
use ConditionalFact to skip the test
5 years ago
Anton Firszov
73d273d425
skip RemoteExecutor_FailingRemoteTestShouldFailLocalTest on 32 bit Framework
5 years ago
Anton Firszov
a1b16e39aa
add failing test
5 years ago
Brian Popow
c4a1b994e6
Fix issue with encoding 1 by 1 pixel lossless image
5 years ago
Brian Popow
b49313e1dc
Use StringComparison.Ordinal and fix some minor warnings
5 years ago
Brian Popow
e613094479
Rename namespace to SixLabors.ImageSharp.Formats.Webp
5 years ago
James Jackson-South
dc0982f186
Faster Linear Transforms ( #1591 )
* Attempt to use same weight generation algorithm as resize.
* tests pass
* Identical output
* Update LinearTransformKernelFactory{TResampler}.cs
* Use new low allocation iterator
* Migrate projective transforms.
* Optimizations
* Smaller kernel
* Fix sampling accuracy
* Finalize and update refs
* Revert unnecessary changes
* Remove enumerator
* Actually save output for debugging.
* Use custom test png encoder for reduced memory environments
* Convolution should use scaled vectors
* Update TestEnvironmentTests.cs
* Try using doubles
* Moar double precision
* Fix radius calculation
* Test if issue is SIMD related.
* Detect runtime to determine pipeline.
* Fix stack overflow
* fix condition
* Try simplified scalar run
* Simplify unpremultiply scalar
* Update Numerics.cs
* Fix runtime environment
* Update ImageSharp.csproj
* Duplicate the caller with scalar versions
* Update method name, exclude from coverage.
* Don't save output during coverage tests for perf.
* Update src/ImageSharp/Common/Helpers/RuntimeEnvironment.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
Co-authored-by: Anton Firszov <antonfir@gmail.com>
6 years ago
Brian Popow
ce6f067935
Add resize test for HwIntrinsics
6 years ago
Brian Popow
d74463d5a6
Rename WebP to Webp
6 years ago