diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationPixelArithmetic.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationPixelArithmetic.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UVtools.Core/Operations/OperationPixelArithmetic.cs b/UVtools.Core/Operations/OperationPixelArithmetic.cs index 427d7be..ff1ca0e 100644 --- a/UVtools.Core/Operations/OperationPixelArithmetic.cs +++ b/UVtools.Core/Operations/OperationPixelArithmetic.cs @@ -295,13 +295,13 @@ namespace UVtools.Core.Operations case PixelArithmeticOperators.KeepRegion: { using var targetClone = target.Clone(); - original.SetTo(EmguExtensions.BlackByte); - mat.SetTo(EmguExtensions.BlackByte); + original.SetTo(EmguExtensions.BlackColor); + mat.SetTo(EmguExtensions.BlackColor); targetClone.CopyTo(target); break; } case PixelArithmeticOperators.DiscardRegion: - target.SetTo(EmguExtensions.BlackByte); + target.SetTo(EmguExtensions.BlackColor); break; default: throw new NotImplementedException(); |