Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GappedCircleModuleDrawer class to pil #373

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BenWestgate
Copy link

@BenWestgate BenWestgate commented Sep 5, 2024

Added new class GappedCircleModuleDrawer to qrcode.image.styles.moduledrawers.pil.

Like GappedSquareModuleDrawer it accepts a size_ratio float argument and reduces the width of the circles proportionally.

Svg had this feature but I couldn't figure out how to use it and Gapped Circles are missing from pil so I wrote this to solve my problem.

Thanks for reviewing my PR.

Screenshots:
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant