Merge branch 'feature/jbig2thresh' into v15

This commit is contained in:
James R. Barlow
2023-09-21 00:07:05 -07:00
6 changed files with 30 additions and 7 deletions
+10
View File
@@ -86,6 +86,16 @@ def add_options(parser):
# Adjust number of pages to consider at once for JBIG2 compression
help=argparse.SUPPRESS,
)
optimizing.add_argument(
'--jbig2-threshold',
type=numeric(float, 0.4, 0.9),
default=0.85,
metavar='T',
help=(
"Adjust JBIG2 symbol code classification threshold "
"(default 0.85), range 0.4 to 0.9."
),
)
@hookimpl