ExQR.Tables (ex_qr v0.1.0)

Copy Markdown View Source

QR Code version tables: data capacity, EC block structure, alignment pattern positions, and format/version information.

Summary

Functions

Alignment pattern center coordinates for a version.

Character count indicator bit length for byte mode.

Total data codewords capacity for version and EC level.

Get EC block structure for version and level.

Get the 15-bit format information value.

Find the smallest version that can hold byte_count bytes at level.

QR code size in modules for a given version.

Functions

alignment_positions(version)

Alignment pattern center coordinates for a version.

char_count_bits(version)

Character count indicator bit length for byte mode.

data_capacity(version, level)

Total data codewords capacity for version and EC level.

ec_info(version, level)

Get EC block structure for version and level.

format_info(level, mask)

Get the 15-bit format information value.

min_version(byte_count, level)

Find the smallest version that can hold byte_count bytes at level.

size(version)

QR code size in modules for a given version.