Browse Source

Actually use pixel type from encoder in ExrEncoderCore constructor

pull/3096/head
Brian Popow 3 weeks ago
parent
commit
00db2e9256
  1. 1
      src/ImageSharp/Formats/Exr/ExrEncoderCore.cs

1
src/ImageSharp/Formats/Exr/ExrEncoderCore.cs

@ -55,6 +55,7 @@ internal sealed class ExrEncoderCore
this.encoder = encoder;
this.memoryAllocator = memoryAllocator;
this.Compression = encoder.Compression ?? ExrCompression.None;
this.pixelType = encoder.PixelType;
}
/// <summary>

Loading…
Cancel
Save