Skip to content

This Segno plugin can change the QR code's black modules into custom shapes instead of squares.

Notifications You must be signed in to change notification settings

six519/qrcode-other-pattern

Repository files navigation

qrcode-other-pattern

example.png

This Segno plugin can change the QR code's black modules into custom shapes instead of squares.

Recommended Custom Image

A black image with a transparent background.

pattern.png

Installing Through PyPi

pip3 install qrcode-other-pattern

Using the plugin

import segno

qr_code = segno.make('https://ferdinandsilva.com')
new_pattern = qr_code.to_other_pattern(
    scale=10,
    border=2,
    file_pattern='pattern.png',
    dark='orange',
    light='blue',
)
new_pattern.save('example.png')

About

This Segno plugin can change the QR code's black modules into custom shapes instead of squares.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages