force PNG checkbox
This commit is contained in:
1 parent
b39076a9f4
commit
8035dedae8
3 files changed
+12
-6
No files matched your search
@@ -282,7 +282,9 @@ class WorkerThread(QtCore.QThread):
|
||||
options.forcecolor = True
|
||||
if GUI.disableProcessingBox.isChecked():
|
||||
options.noprocessing = True
|
||||
if GUI.mozJpegBox.isChecked():
|
||||
if GUI.mozJpegBox.checkState() == 1:
|
||||
options.forcepng = True
|
||||
elif GUI.mozJpegBox.checkState() == 2:
|
||||
options.mozjpeg = True
|
||||
if GUI.currentMode > 2:
|
||||
options.customwidth = str(GUI.widthBox.value())
|
||||
|
||||
Reference in new issue
Block a user