Skip to content

Commit 9b1276d

Browse files
committed
Add test images for miniswhite 32 bit
1 parent f20a165 commit 9b1276d

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ public void TiffDecoder_CanDecode_30Bit<TPixel>(TestImageProvider<TPixel> provid
175175
[Theory]
176176
[WithFile(Flower32BitGray, PixelTypes.Rgba32)]
177177
[WithFile(Flower32BitGrayLittleEndian, PixelTypes.Rgba32)]
178+
[WithFile(Flower32BitGrayMinIsWhite, PixelTypes.Rgba32)]
179+
[WithFile(Flower32BitGrayMinIsWhiteLittleEndian, PixelTypes.Rgba32)]
178180
public void TiffDecoder_CanDecode_32Bit_Gray<TPixel>(TestImageProvider<TPixel> provider)
179181
where TPixel : unmanaged, IPixel<TPixel>
180182
{

tests/ImageSharp.Tests/TestImages.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ public static class Tiff
599599
public const string Flower24BitGrayLittleEndian = "Tiff/flower-minisblack-24_lsb.tiff";
600600
public const string Flower32BitGray = "Tiff/flower-minisblack-32.tiff";
601601
public const string Flower32BitGrayLittleEndian = "Tiff/flower-minisblack-32_lsb.tiff";
602+
public const string Flower32BitGrayMinIsWhite = "Tiff/flower-miniswhite-32.tiff";
603+
public const string Flower32BitGrayMinIsWhiteLittleEndian = "Tiff/flower-miniswhite-32_lsb.tiff";
602604

603605
public const string Issues1716Rgb161616BitLittleEndian = "Tiff/Issues/Issue1716.tiff";
604606

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:514417ead3d6c5c6ca33374ef0bb6ecbe5f875a266519d4cbaa4a6b91033d243
3+
size 12778
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:64c948aa03bc4a24cd1d68bb18b5031c119936154a90f1cb1d9aaabd854c5d9b
3+
size 12778

0 commit comments

Comments
 (0)