Automatically apply gamma fix when previewed and an image is edited externally.
This commit is contained in:
parent
336efb45ff
commit
5a375defdb
@ -1113,6 +1113,11 @@ namespace Toolbox.Library.Forms
|
||||
if (image == null)
|
||||
return;
|
||||
|
||||
if (Runtime.ImageEditor.PreviewGammaFix) {
|
||||
image = BitmapExtension.AdjustGamma(image, 2.2f);
|
||||
DecodeBack = true;
|
||||
}
|
||||
|
||||
if (saveBtn.InvokeRequired)
|
||||
{
|
||||
saveBtn.Invoke(new MethodInvoker(
|
||||
|
Loading…
x
Reference in New Issue
Block a user