Added a check for the color reduceto as was requested in feature-request 712.

This commit is contained in:
RKrom 2014-05-12 12:15:05 +02:00
commit 92dd76584d

View file

@ -413,6 +413,12 @@ namespace GreenshotPlugin.Core {
if (AutoCropDifference > 255) {
AutoCropDifference = 255;
}
if (OutputFileReduceColorsTo < 0) {
OutputFileReduceColorsTo = 0;
}
if (OutputFileReduceColorsTo > 256) {
OutputFileReduceColorsTo = 256;
}
}
}
}