Browse Source

Remove unecessary saturation check

pull/3/head
makeworld 5 years ago
parent
commit
9e797cd3b1
  1. 2
      subcommands.go

2
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

Loading…
Cancel
Save