Skip to content

Commit 4323c8d

Browse files
Update src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeProcessor{TPixel}.cs
1 parent 6d9a04d commit 4323c8d

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
@@ -188,7 +188,7 @@ private static void ApplyResizeFrameTransform(
188188
bool compand,
189189
bool premultiplyAlpha)
190190
{
191-
PixelAlphaRepresentation? alphaRepresentation = PixelOperations<TPixel>.Instance.GetPixelTypeInfo()?.PixelAlphaRepresentation;
191+
PixelAlphaRepresentation? alphaRepresentation = PixelOperations<TPixel>.Instance.GetPixelTypeInfo()?.AlphaRepresentation;
192192

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

0 commit comments

Comments
 (0)