James Jackson-South
5db8d32a94
Retarget builds to .NET 10 and 11
Move the main target framework from net8.0 to net10.0 and the preview lane from net10.0 to net11.0, adding a global.json floor for SDK 10+ and updating CI coverage and test projects to match.
The change also adjusts hardware-intrinsic feature tests for .NET 11's x86-64-v2 baseline, updates Magick.NET, adds PDF files to LFS, and converts many internal helper and codec APIs from Span<T> to ReadOnlySpan<T> where inputs are not mutated.
2 weeks ago
Stefan Nikolei
8930d4fd6f
Migrate to xUnitV3
2 weeks ago
Stefan Nikolei
eb549bcda3
Use Collection expressions and Target-typed new
1. Collection expressions (`[]` syntax) replacing `new List<T>()`, `new T[] {}`, `.ToArray()`, etc.
2. Target-typed `new()` expressions where appropriate
3. Using spread elements (`[.. collection]`) instead of `.ToArray()` and `.Concat().ToArray()`
4. Adding `#pragma warning disable/restore CS0649` for intentionally unassigned struct fields
2 weeks ago
James Jackson-South
6995704190
Remove AntialiasThreshold from GraphicsOptions
Drops the `AntialiasThreshold` field/property from `GraphicsOptions` and updates related XML docs to reflect the simplified antialiasing behavior. Clone logic and test coverage were adjusted accordingly, including removal of threshold assertions and comparer checks.
4 weeks ago
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.
2 months ago
James Jackson-South
ff36e83c74
Add AllocationTrackedMemoryManager and refactor allocators ( #3120 )
* Add AllocationTrackedMemoryManager and refactor allocators
* Add AllocationTrackingState and refactor tracking
* Cleanup
* Address feedback
* Introduce ApplyOptions and use in allocators
* Propagate allocation tracking to lifetime guards
* Address Copilot feedback
* Fix multi-buffer group tracking and enforce limits
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Fix override accesibility
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 months ago
James Jackson-South
1e65e08fc1
Add additional unit tests to improve code coverage. Update licensing version
4 months ago
James Jackson-South
37f534ea5d
Add ImageFrame visitor; use Buffer2D Size/Bounds + expose subregion extensions
4 months ago
James Jackson-South
66671a0e9f
Implement proper segment integrity handling & tolerant parsing
5 months ago
James Jackson-South
fd688db0eb
Complete implementation and add tests/benchmark
5 months ago
James Jackson-South
5e4f3ef1ff
Use operators in generated functions
5 months ago
Brian Popow
9ead3ebe3a
Update Magick.NET-Q16 to version 14.11.1 for fix to decoding zip compressed exr files
5 months ago
Brian Popow
faf87fbe16
Use MagickReference decoder for exr decoding tests
6 months ago
Brian Popow
83dba5872b
Change exr name space to SixLabors.ImageSharp.Formats.Exr
6 months ago
Brian Popow
fa52ab740f
Adjust exr decoder / encoder to ImageSharp changes
6 months ago
James Jackson-South
dd827571d1
Replace AntialiasSubpixelDepth with AntialiasThreshold
6 months ago
Stefan Nikolei
fd04531820
Check for SSE42 not SSE
10 months ago
Stefan Nikolei
eca4734ad1
Add more usermessages
10 months ago
Stefan Nikolei
6aad0e733e
In .net8 there is no grouping
10 months ago
Stefan Nikolei
330ca36b39
SSE2 ist not disabled by SSE42
10 months ago
Stefan Nikolei
994c37b353
SSE is not disabled by SSE42
10 months ago
Stefan Nikolei
1d1aa0ae4f
Add usermessages to asserts
10 months ago
Stefan Nikolei
ad4b3e90b2
Update ISA Groups
https://github.com/dotnet/runtime/issues/121685#issuecomment-3539194032
10 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
fb47ce89b9
Always do debug save
1 year ago
James Jackson-South
c573228b09
Upstream fixes.
1 year ago
James Jackson-South
4e21188efe
Fix all known quantizing issues
2 years ago
Brian Popow
5cfa2bc643
Enable 32 bits per channel decoding for MagickReferenceDecoder
2 years ago
James Jackson-South
502a354262
Add tests and fix issues.
2 years ago
James Jackson-South
f4923598bb
Limit Magick.NET version for now
2 years ago
James Jackson-South
b4567a4ac7
Normalize encoders and update refs
2 years ago
kasperk81
418ce0e247
cleanup projects and environment variables
2 years ago
James Jackson-South
eb5c05efe1
Allow decoding Tiff of different frame size.
2 years ago
James Jackson-South
a06511f6d2
Initialize pixel type info from decoder.
2 years ago
James Jackson-South
fdcd60200e
Begin migrating TiffMetadata
2 years ago
James Jackson-South
980347e96f
ENhance NormalizedFloatToByteSaturate
3 years ago
James Jackson-South
8af75fe0d4
Restore GetPixelTypeInfo
3 years ago
James Jackson-South
dfd983f17c
Update library to use new pixel API
3 years ago
James Jackson-South
6b6b474892
Introduce PixelComponentInfo + simplify Color
3 years ago
Ynse Hoornenborg
4645e40725
Rename namespace and classes to Heif
3 years ago
Ynse Hoornenborg
0829e868f5
Scaffolding for HEIC file format
3 years ago
James Jackson-South
db705814df
Add PixelComponentPrecision
3 years ago
Stefan Nikolei
b52ef56181
Promote PixelTypeInfo to TPixel
Fixes #2534
3 years ago
James Jackson-South
3d9ceaa8fa
Allow decoding early EOF
3 years ago
James Jackson-South
5da17f3992
Enable Sse2, simplify
3 years ago
James Jackson-South
4b852e6528
Update tests, fix issues
3 years ago
Sven Claesson
72b8013241
refactor PngDecoder to SpecializedImageDecoder<PngDecoderOptions>
3 years ago
James Jackson-South
66f444d200
Fix alpha blending and add tests
3 years ago