From 9e797cd3b1f2f4fe6867e1805c7a59d52953dc85 Mon Sep 17 00:00:00 2001 From: makeworld Date: Thu, 29 Apr 2021 16:51:28 -0400 Subject: [PATCH] Remove unecessary saturation check --- subcommands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subcommands.go b/subcommands.go index 14dce85..62b4c2d 100644 --- a/subcommands.go +++ b/subcommands.go @@ -298,7 +298,7 @@ func random(c *cli.Context) error { } if len(floatArgs) == 2 { - if grayscale || saturation <= -100 { + if grayscale { ditherer.Mapper = dither.RandomNoiseGrayscale(floatArgs[0], floatArgs[1]) } else { // Use the two arguments for all channels