Skip to content

Add GappedCircleModuleDrawer class to pil#373

Merged
bartTC merged 1 commit intolincolnloop:mainfrom
BenWestgate:main
Jul 22, 2025
Merged

Add GappedCircleModuleDrawer class to pil#373
bartTC merged 1 commit intolincolnloop:mainfrom
BenWestgate:main

Conversation

@BenWestgate
Copy link
Copy Markdown
Contributor

@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

@bartTC bartTC merged commit 16e5267 into lincolnloop:main Jul 22, 2025
@bartTC
Copy link
Copy Markdown
Member

bartTC commented Jul 23, 2025

This has been merged, thank you!

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.

2 participants