mirror of
https://github.com/ciromattia/kcc
synced 2026-07-05 12:35:35 +00:00
Add preserve margin % toggle (#886)
* preserve margin * set ratio to 0.5 * add preserve margin GUI * increase step size to 5 * remove clear * fix save * save preserveMarginBox * math * max 99
This commit is contained in:
@@ -1050,6 +1050,8 @@ def makeParser():
|
||||
help="Set cropping mode. 0: Disabled 1: Margins 2: Margins + page numbers [Default=2]")
|
||||
processing_options.add_argument("--cp", "--croppingpower", type=float, dest="croppingp", default="1.0",
|
||||
help="Set cropping power [Default=1.0]")
|
||||
processing_options.add_argument("--preservemargin", type=int, dest="preservemargin", default="0",
|
||||
help="After calculating crop, back up specified percentage amount. [Default=0]")
|
||||
processing_options.add_argument("--cm", "--croppingminimum", type=float, dest="croppingm", default="0.0",
|
||||
help="Set cropping minimum area ratio [Default=0.0]")
|
||||
processing_options.add_argument("--ipc", "--interpanelcrop", type=int, dest="interpanelcrop", default="0",
|
||||
|
||||
Reference in New Issue
Block a user