fix: allow 0 as valid value for jbig2_page_group_size

Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
James R. Barlow
2025-12-21 12:21:48 -08:00
co-authored by aider
parent 01ea6c2b8b
commit f6fcdfa618
+2 -2
View File
@@ -46,9 +46,9 @@ class OptimizeOptions(BaseModel):
jbig2_page_group_size: Annotated[
int,
Field(
ge=1,
ge=0,
le=10000,
description="Number of pages to consider for JBIG2 compression",
description="Number of pages to consider for JBIG2 compression (0=disabled)",
),
] = 0
jbig2_threshold: Annotated[