Browse Source

Add new test file.

The octree quantizer does not like this file. A couple of frame
backgrounds turn out the wrong color. When you resize though all is
fixed!?
pull/56/head
James Jackson-South 9 years ago
parent
commit
dae509430b
  1. 1
      tests/ImageSharp.Tests/FileTestBase.cs
  2. 2
      tests/ImageSharp.Tests/TestImages.cs
  3. BIN
      tests/ImageSharp.Tests/TestImages/Formats/Gif/cheers.gif

1
tests/ImageSharp.Tests/FileTestBase.cs

@ -42,6 +42,7 @@ namespace ImageSharp.Tests
// TestImages.Png.Filter4, // Perf: Enable for local testing only
// TestImages.Png.FilterVar, // Perf: Enable for local testing only
TestImages.Gif.Rings,
TestImages.Gif.Cheers,
// TestImages.Gif.Giphy // Perf: Enable for local testing only
};

2
tests/ImageSharp.Tests/TestImages.cs

@ -101,6 +101,8 @@ namespace ImageSharp.Tests
public static TestFile Rings => new TestFile(folder + "rings.gif");
public static TestFile Giphy => new TestFile(folder + "giphy.gif");
public static TestFile Cheers => new TestFile(folder + "cheers.gif");
}
}
}

BIN
tests/ImageSharp.Tests/TestImages/Formats/Gif/cheers.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Loading…
Cancel
Save