This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/settings/format/advanced/jbig2-settings.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Jbig2Settings

Settings for Jbig2. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.

Tags: Format, Advanced

from nutrient_sdk import Jbig2Settings

Construction

Jbig2Settings is accessed through a Document instance for per-document overrides, or via SdkSettings for SDK-wide defaults.

# Per-document override
with Document.open("input.pdf") as doc:
settings = doc.settings.jbig2_settings
settings.some_field = new_value # mutate fields directly
# SDK-wide default (applies to all documents)
SdkSettings.jbig2_settings.some_field = new_value

Settings are configured by writing to fields on the returned object. The settings property itself cannot be reassigned — doc.settings.jbig2_settings = other_settings is rejected.

Properties

jbig2_pms_threshold

@property
def jbig2_pms_threshold(self) -> float
@jbig2_pms_threshold.setter
def jbig2_pms_threshold(self, value: float) -> None

The threshold for Pattern Matching and Substitution (PMS) in JBIG2 compression. Higher values result in more aggressive compression but may reduce quality.

Type: float

Default: 0.85F