1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

add --mozjpeg option and GUI checkBox

This commit is contained in:
darodi
2022-04-10 17:43:21 +02:00
parent 6cd073809e
commit 79715c6a06
7 changed files with 41 additions and 6 deletions

View File

@@ -952,6 +952,8 @@ def makeParser():
help="Don't convert images to grayscale")
processingOptions.add_option("--forcepng", action="store_true", dest="forcepng", default=False,
help="Create PNG files instead JPEG")
processingOptions.add_option("--mozjpeg", action="store_true", dest="mozjpeg", default=False,
help="Create JPEG files using mozJpeg")
customProfileOptions.add_option("--customwidth", type="int", dest="customwidth", default=0,
help="Replace screen width provided by device profile")