Browse Source

Update tests/ImageSharp.Tests/TestUtilities/ReferenceCodecs/MagickReferenceDecoder.cs

Co-authored-by: James Jackson-South <james_south@hotmail.com>
js/color-alpha-handling
Dirk Lemstra 5 years ago
committed by GitHub
parent
commit
08771fe8ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tests/ImageSharp.Tests/TestUtilities/ReferenceCodecs/MagickReferenceDecoder.cs

6
tests/ImageSharp.Tests/TestUtilities/ReferenceCodecs/MagickReferenceDecoder.cs

@ -56,6 +56,12 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities.ReferenceCodecs
where TPixel : unmanaged, ImageSharp.PixelFormats.IPixel<TPixel>
{
var bmpReadDefines = new BmpReadDefines
{
// See https://github.com/SixLabors/ImageSharp/issues/1380
// Validation fails on Ubuntu despite identical header generation
// on all platforms.
IgnoreFileSize = !TestEnvironment.IsWindows
};
{
IgnoreFileSize = true
};

Loading…
Cancel
Save