PDF417 Compaction Mode

Defined in package com.scandit.datacapture.barcode.generator

Pdf417CompactionMode

Added in version 8.3.0

The compaction mode for PDF417 barcode generation. The compaction mode determines how the data is encoded in the barcode.

AUTO

Added in version 8.3.0

Automatically select the best compaction mode based on the input data. This is the default mode.

TEXT

Added in version 8.3.0

Text compaction mode, optimized for alphanumeric data. This mode is efficient for encoding text with letters, numbers, and common punctuation.

BYTE

Added in version 8.3.0

Byte compaction mode, can encode any 8-bit byte data. This mode provides the most flexibility but may be less efficient for text data.

NUMERIC

Added in version 8.3.0

Numeric compaction mode, optimized for numeric data. This mode is most efficient when encoding only numbers.