Stefan Nikolei
67a94113e4
Migrate tests from xUnit v2 to xUnit.v3 3.2.2
Breaking changes addressed:
- Update xunit.v3 to 3.2.2 and xunit.runner.visualstudio to 3.1.5
- Remove Microsoft.DotNet.XUnitExtensions (conflicts with xunit.v3 via xunit.core v2)
- Replace ConditionalFact/ConditionalTheory with Fact/Theory SkipUnless/SkipWhen/SkipType
- Remove 'using Xunit.Abstractions' (ITestOutputHelper now in Xunit namespace globally)
- Fix TestFrameworkAttribute: string args → typeof(T) form
- Fix XunitTestFramework ctor: no longer takes IMessageSink
- Fix BeforeAfterTestAttribute Before/After: added IXunitTest parameter, use Xunit.v3 ns
- Fix DataAttribute: new GetData signature (DisposalTracker), add SupportsDiscoveryEnumeration()
- Fix IXunitSerializable/IXunitSerializationInfo: add 'using Xunit.Sdk' to all consumers
- Fix BasicSerializer: implement new IXunitSerializationInfo.GetValue(string) returning object?
Store type info in dump format (key:TypeAQN:value) to enable typed reconstruction
- Fix TheoryData<T> CS0121 ambiguity on C# 12/net8.0: add explicit casts (T)value
Affects ExifValuesTests, PixelOperationsTests, QuantizerTests, DitherTests,
TestImageProviderTests, RotateTests, L8Tests, La16Tests
- Fix PngEncoderTests: TheoryData<T> now yields TheoryDataRow<T>, not object[]
2 months ago
James Jackson-South
90f0c0b5d4
Update and simplify quantization color caches.
3 months ago
Stefan Nikolei
fc211a7aa7
Update Intrinsic usage
8 months ago
Stefan Nikolei
ad4b3e90b2
Update ISA Groups
https://github.com/dotnet/runtime/issues/121685#issuecomment-3539194032
8 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
dca98af177
Update test ref images to match caching
1 year ago
James Jackson-South
86b9917049
Upstream V3 changes.
1 year ago
James Jackson-South
6322bcb7d5
Use different cache types and begin to make quantizers own clearing pixels.
1 year ago
James Jackson-South
c573228b09
Upstream fixes.
1 year ago
James Jackson-South
4e21188efe
Fix all known quantizing issues
1 year ago
James Jackson-South
502a354262
Add tests and fix issues.
2 years ago
James Jackson-South
8dd4f35d5e
Normalize handling of transparent pixels with color components on encode.
2 years ago
James Jackson-South
b4567a4ac7
Normalize encoders and update refs
2 years ago
James Jackson-South
9a0e289d25
Complete conversion APIs
2 years ago
James Jackson-South
be0be6933f
Fix PngMetadata
2 years ago
James Jackson-South
2127b46a04
Implement PngFrameMetadata
2 years ago
James Jackson-South
8166213c17
Implement GifFrameMetadata
2 years ago
SpaceCheetah
c8eab788dd
Rename DefaultImageAnimated to AnimateRootFrame
2 years ago
SpaceCheetah
94d7f3c479
Rename DefaultImageAnimated to AnimateRootFrame
2 years ago
SpaceCheetah
b1a5593b20
Add test for case with frame offsets
2 years ago
SpaceCheetah
addec72467
Make PngEncoder respect DefaultImageAnimated
2 years ago
SpaceCheetah
3dec79c979
Add test for case with frame offsets
2 years ago
SpaceCheetah
5cd2d29052
Make PngEncoder respect DefaultImageAnimated
2 years ago
James Jackson-South
f44b761f3b
Add fixes 2668, 2676, and 2677 to main ( #2678 )
* Prevent underflow
* Fix file name
* Revert "Fix file name"
This reverts commit 15619ecd88 .
* Update AlphaDecoder.cs
* Use a smarter approach to determine the transparent index
* Fix casing
* Update src/ImageSharp/Formats/Webp/AlphaDecoder.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
* Update Issue2668_Quantized_Encode_Alpha_Rgba32_Issue_2668.png
* Normalize Color API
* Aggressive inlining
---------
Co-authored-by: Günther Foidl <gue@korporal.at>
2 years ago
James Jackson-South
2a548818ac
Use a smarter approach to determine the transparent index
2 years ago
James Jackson-South
dfd983f17c
Update library to use new pixel API
3 years ago
James Jackson-South
057edd8ddd
Use the new metadata
3 years ago
James Jackson-South
6b6b474892
Introduce PixelComponentInfo + simplify Color
3 years ago
James Jackson-South
51193111a1
Fix handling gif encoding for global palettes - Main ( #2615 )
* Handle dedup of local palette of 256 length
* handle when foreground overhangs bottom of background
* prevent potential overflow
* reduce to a single par of clamping operations
* correctly calculate Rect when negative target set
* Handle global ani with 256 palette and no trans
* Bump diff for windows
---------
Co-authored-by: Scott Williams <tocsoft@gmail.com>
Co-authored-by: Scott Williams <166440+tocsoft@users.noreply.github.com>
3 years ago
James Jackson-South
ad1b0e6dad
Fix handling gif encoding for global palettes. ( #2614 )
* Handle global ani with 256 palette and no trans
* Bump diff for windows
3 years ago
James Jackson-South
e35e9a8d89
Reduce memory usage in pixel map
3 years ago
James Jackson-South
55e69c7bd2
Try disabling new high memory tests on failing platforms.
3 years ago
James Jackson-South
4b852e6528
Update tests, fix issues
3 years ago
James Jackson-South
a486558ed1
Complete Webp and add tests
3 years ago
James Jackson-South
328e0465db
Wire up connectors and gif encoder
3 years ago
James Jackson-South
14a95a8ed6
Rename properties and add metadata tests
3 years ago
James Jackson-South
564c3d122c
Fix encoding
3 years ago
James Jackson-South
31b591a940
Update PngEncoderTests.cs
3 years ago
Poker
01caebd34a
Add UnitTest
3 years ago
James Jackson-South
037d6ea582
Allow preservation of png color palette
3 years ago
James Jackson-South
ae3900df7a
Use more accurate bit for alpha lookup. Fix #2469
3 years ago
James Jackson-South
fc7219d1fa
Add quantizer property tests
3 years ago
James Jackson-South
4007a48b89
Use shared instances for all built-in decoders.
4 years ago
James Jackson-South
1d994132ef
Re-introduce IImageDecoder and split decoding pipelines.
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