Enums

Details

class GnomeQR.EccLevel(value)

Bases: GObject.GEnum

Error correction levels for QR codes. Higher levels provide better error recovery at the cost of requiring bigger dimensions.

LOW = 0

Low error correction (~7% recovery capability)

MEDIUM = 1

Medium error correction (~15% recovery capability)

QUARTILE = 2

Quartile error correction (~25% recovery capability)

HIGH = 3

High error correction (~30% recovery capability)

class GnomeQR.PixelFormat(value)

Bases: GObject.GEnum

Pixel formats for the generated QR code image data.

A_8 = 0
G_8 = 1
RGB_888 = 2

24-bit RGB format (3 bytes per pixel)

RGBA_8888 = 3

32-bit RGBA format (4 bytes per pixel)