From 92dd76584d4832a3e717a8f33f1390ff2f7f3146 Mon Sep 17 00:00:00 2001 From: RKrom Date: Mon, 12 May 2014 12:15:05 +0200 Subject: [PATCH] Added a check for the color reduceto as was requested in feature-request 712. --- GreenshotPlugin/Core/CoreConfiguration.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GreenshotPlugin/Core/CoreConfiguration.cs b/GreenshotPlugin/Core/CoreConfiguration.cs index 80da500dd..8997ac7cf 100644 --- a/GreenshotPlugin/Core/CoreConfiguration.cs +++ b/GreenshotPlugin/Core/CoreConfiguration.cs @@ -413,6 +413,12 @@ namespace GreenshotPlugin.Core { if (AutoCropDifference > 255) { AutoCropDifference = 255; } + if (OutputFileReduceColorsTo < 0) { + OutputFileReduceColorsTo = 0; + } + if (OutputFileReduceColorsTo > 256) { + OutputFileReduceColorsTo = 256; + } } } } \ No newline at end of file