1
0
mirror of https://github.com/ciromattia/kcc synced 2026-02-19 02:29:04 +00:00

save jpeg quality value (#1248)

This commit is contained in:
Alex Xu
2026-02-09 19:08:26 -08:00
committed by GitHub
parent d189f9909d
commit 541b1d876b

View File

@@ -1039,6 +1039,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
'metadataTitleBox': GUI.metadataTitleBox.checkState(),
'mozJpegBox': GUI.mozJpegBox.checkState(),
'jpegQualityBox': GUI.jpegQualityBox.checkState(),
'jpegQuality': GUI.jpegQualitySpinBox.value(),
'widthBox': GUI.widthBox.value(),
'heightBox': GUI.heightBox.value(),
'deleteBox': GUI.deleteBox.checkState(),
@@ -1441,6 +1442,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
GUI.croppingPowerSlider.setValue(int(self.options[option]))
self.changeCroppingPower(int(self.options[option]))
GUI.preserveMarginBox.setValue(self.options.get('preserveMarginBox', 0))
elif str(option) == "jpegQuality":
GUI.jpegQualitySpinBox.setValue(int(self.options[option]))
elif str(option) == "chunkSizeBox":
GUI.chunkSizeBox.setValue(int(self.options[option]))
else: