Skip to content

Commit 6cbbb19

Browse files
committed
Fix usage of static method in ResizeProcessor
1 parent 2949655 commit 6cbbb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeProcessor{TPixel}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private static void ApplyResizeFrameTransform(
197197
bool compand,
198198
bool premultiplyAlpha)
199199
{
200-
PixelAlphaRepresentation? alphaRepresentation = PixelOperations<TPixel>.GetPixelTypeInfo().AlphaRepresentation;
200+
PixelAlphaRepresentation? alphaRepresentation = PixelOperations<TPixel>.Instance.GetPixelTypeInfo().AlphaRepresentation;
201201

202202
// Premultiply only if alpha representation is unknown or Unassociated:
203203
bool needsPremultiplication = alphaRepresentation == null || alphaRepresentation.Value == PixelAlphaRepresentation.Unassociated;

0 commit comments

Comments
 (0)