Skip to content

Commit 5955353

Browse files
committed
Filter processor should use scaled vectors.
1 parent 5ab768c commit 5955353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ImageSharp/Processing/Processors/Filters/FilterProcessor{TPixel}.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ public RowOperation(
7272
public void Invoke(int y, Span<Vector4> span)
7373
{
7474
Span<TPixel> rowSpan = this.source.GetPixelRowSpan(y).Slice(this.startX, span.Length);
75-
PixelOperations<TPixel>.Instance.ToVector4(this.configuration, rowSpan, span);
75+
PixelOperations<TPixel>.Instance.ToVector4(this.configuration, rowSpan, span, PixelConversionModifiers.Scale);
7676

7777
ColorNumerics.Transform(span, ref Unsafe.AsRef(this.matrix));
7878

79-
PixelOperations<TPixel>.Instance.FromVector4Destructive(this.configuration, span, rowSpan);
79+
PixelOperations<TPixel>.Instance.FromVector4Destructive(this.configuration, span, rowSpan, PixelConversionModifiers.Scale);
8080
}
8181
}
8282
}

0 commit comments

Comments
 (0)