mirror of
https://github.com/ciromattia/kcc
synced 2026-06-30 10:05:25 +00:00
Updated GUI
This commit is contained in:
+4
-4
@@ -96,7 +96,7 @@ class MainWindow:
|
|||||||
'Bmangastyle': IntVar(None, 0),
|
'Bmangastyle': IntVar(None, 0),
|
||||||
'Cnopanelviewhq': IntVar(None, 0),
|
'Cnopanelviewhq': IntVar(None, 0),
|
||||||
'Dimage_preprocess': IntVar(None, 0),
|
'Dimage_preprocess': IntVar(None, 0),
|
||||||
'Enotquantize': IntVar(None, 0),
|
'Eforcepng': IntVar(None, 0),
|
||||||
'Fimage_gamma': DoubleVar(None, 0.0),
|
'Fimage_gamma': DoubleVar(None, 0.0),
|
||||||
'Gimage_upscale': IntVar(None, 0),
|
'Gimage_upscale': IntVar(None, 0),
|
||||||
'Himage_stretch': IntVar(None, 0),
|
'Himage_stretch': IntVar(None, 0),
|
||||||
@@ -110,7 +110,7 @@ class MainWindow:
|
|||||||
'Bmangastyle': "Manga mode",
|
'Bmangastyle': "Manga mode",
|
||||||
'Cnopanelviewhq': "Disable high quality Panel View",
|
'Cnopanelviewhq': "Disable high quality Panel View",
|
||||||
'Dimage_preprocess': "Disable image optimizations",
|
'Dimage_preprocess': "Disable image optimizations",
|
||||||
'Enotquantize': "Disable image quantization",
|
'Eforcepng': "Create PNG files instead JPEG",
|
||||||
'Fimage_gamma': "Custom gamma correction",
|
'Fimage_gamma': "Custom gamma correction",
|
||||||
'Gimage_upscale': "Allow image upscaling",
|
'Gimage_upscale': "Allow image upscaling",
|
||||||
'Himage_stretch': "Stretch images",
|
'Himage_stretch': "Stretch images",
|
||||||
@@ -168,8 +168,8 @@ class MainWindow:
|
|||||||
argv.append("--nopanelviewhq")
|
argv.append("--nopanelviewhq")
|
||||||
if self.options['Dimage_preprocess'].get() == 1:
|
if self.options['Dimage_preprocess'].get() == 1:
|
||||||
argv.append("--noprocessing")
|
argv.append("--noprocessing")
|
||||||
if self.options['Enotquantize'].get() == 1:
|
if self.options['Eforcepng'].get() == 1:
|
||||||
argv.append("--nodithering")
|
argv.append("--forcepng")
|
||||||
if self.options['Fimage_gamma'].get() != 0.0:
|
if self.options['Fimage_gamma'].get() != 0.0:
|
||||||
argv.append("--gamma")
|
argv.append("--gamma")
|
||||||
argv.append(self.options['Fimage_gamma'].get())
|
argv.append(self.options['Fimage_gamma'].get())
|
||||||
|
|||||||
Reference in New Issue
Block a user