diff --git a/tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs b/tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs index 0427b3732..d94e21609 100644 --- a/tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs +++ b/tests/ImageSharp.Tests/TestUtilities/ImageProviders/FileProvider.cs @@ -151,6 +151,11 @@ namespace SixLabors.ImageSharp.Tests { Guard.NotNull(decoder, nameof(decoder)); + if (!TestEnvironment.Is64BitProcess) + { + return this.LoadImage(decoder); + } + int bufferCapacity = this.Configuration.MemoryAllocator.GetBufferCapacityInBytes(); var key = new Key(this.PixelType, this.FilePath, bufferCapacity, decoder);