From af14463b07d27dcad38d3a4f1e4d6ba24e2676ed Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Mon, 13 Apr 2026 19:53:01 +0200 Subject: [PATCH] Add better test image for uint rgba pixel type --- tests/ImageSharp.Tests/TestImages.cs | 2 +- ...ed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_uncompressed.png | 3 +++ ..._Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_zip_compressed.png | 3 --- tests/Images/Input/Exr/rgba_uint_uncompressed.exr | 3 +++ tests/Images/Input/Exr/rgba_uint_zip_compressed.exr | 3 --- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_uncompressed.png delete mode 100644 tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_zip_compressed.png create mode 100644 tests/Images/Input/Exr/rgba_uint_uncompressed.exr delete mode 100644 tests/Images/Input/Exr/rgba_uint_zip_compressed.exr diff --git a/tests/ImageSharp.Tests/TestImages.cs b/tests/ImageSharp.Tests/TestImages.cs index 343024785f..f7e130d66a 100644 --- a/tests/ImageSharp.Tests/TestImages.cs +++ b/tests/ImageSharp.Tests/TestImages.cs @@ -1389,7 +1389,7 @@ public static class TestImages public const string UncompressedRgba = "Exr/Calliphora_uncompressed_rgba.exr"; public const string UncompressedFloatRgb = "Exr/rgb_float32_uncompressed.exr"; public const string UncompressedUintRgb = "Exr/Calliphora_uint32_uncompressed.exr"; - public const string UintRgba = "Exr/rgba_uint_zip_compressed.exr"; + public const string UintRgba = "Exr/rgba_uint_uncompressed.exr"; public const string Zip = "Exr/Calliphora_zip.exr"; public const string Zips = "Exr/Calliphora_zips.exr"; public const string Rle = "Exr/Calliphora_rle.exr"; diff --git a/tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_uncompressed.png b/tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_uncompressed.png new file mode 100644 index 0000000000..f705b63df8 --- /dev/null +++ b/tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_uncompressed.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:107c6d26cdb8aac539011acf7213376e930cb705f5815b010b31ce4b9e738f9b +size 25780 diff --git a/tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_zip_compressed.png b/tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_zip_compressed.png deleted file mode 100644 index 26de0f2d1a..0000000000 --- a/tests/Images/External/ReferenceOutput/ExrDecoderTests/ExrDecoder_CanDecode_Uncompressed_Rgba_ExrPixelType_Uint_Rgba32_rgba_uint_zip_compressed.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:843bea4db378f52935e2f19f60d289df8ebe20ddde3977c63225f1d58a10bd62 -size 48119 diff --git a/tests/Images/Input/Exr/rgba_uint_uncompressed.exr b/tests/Images/Input/Exr/rgba_uint_uncompressed.exr new file mode 100644 index 0000000000..2738783b29 --- /dev/null +++ b/tests/Images/Input/Exr/rgba_uint_uncompressed.exr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b45345cb1e4539e5298ccce3ccfc0f27b7a469836bfd7aa13c4d9f6c52baa7a +size 482731 diff --git a/tests/Images/Input/Exr/rgba_uint_zip_compressed.exr b/tests/Images/Input/Exr/rgba_uint_zip_compressed.exr deleted file mode 100644 index bdcd9e1ffe..0000000000 --- a/tests/Images/Input/Exr/rgba_uint_zip_compressed.exr +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff2ff1cdcfd219415430ba30a18962b54860d88bfc3adf337e97574c33c5e214 -size 119614