We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2949655 commit 6cbbb19Copy full SHA for 6cbbb19
src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeProcessor{TPixel}.cs
@@ -197,7 +197,7 @@ private static void ApplyResizeFrameTransform(
197
bool compand,
198
bool premultiplyAlpha)
199
{
200
- PixelAlphaRepresentation? alphaRepresentation = PixelOperations<TPixel>.GetPixelTypeInfo().AlphaRepresentation;
+ PixelAlphaRepresentation? alphaRepresentation = PixelOperations<TPixel>.Instance.GetPixelTypeInfo().AlphaRepresentation;
201
202
// Premultiply only if alpha representation is unknown or Unassociated:
203
bool needsPremultiplication = alphaRepresentation == null || alphaRepresentation.Value == PixelAlphaRepresentation.Unassociated;
0 commit comments