Skip to content

Commit 7fb34d6

Browse files
committed
Add GappedCircleModuleDrawer for rendering QR codes as non-contiguous circles (PIL).
1 parent 16e5267 commit 7fb34d6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ Change log
55
WIP
66
===
77

8-
- Migrate pyproject.toml to PEP 621-compliant [project] metadata format.
9-
(hroncok in `#399`_)
8+
- Added ``GappedCircleModuleDrawer`` (PIL) to render QR code modules as non-contiguous circles. (BenwestGate in `#373`_)
9+
- Migrate pyproject.toml to PEP 621-compliant [project] metadata format. (hroncok in `#399`_)
1010
- Allow execution as a Python module. (stefansjs in `#400`_)
1111

1212
::
1313

1414
python -m qrcode --output qrcode.png "hello world"
1515

16+
.. _#373: https://github.com/lincolnloop/python-qrcode/pull/373
1617
.. _#399: https://github.com/lincolnloop/python-qrcode/pull/399
1718
.. _#400: https://github.com/lincolnloop/python-qrcode/pull/400
1819

qrcode/tests/test_qrcode_pil.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def test_render_styled_with_embedded_image_path(tmp_path):
7272
"drawer",
7373
[
7474
moduledrawers.CircleModuleDrawer,
75+
moduledrawers.GappedCircleModuleDrawer,
7576
moduledrawers.GappedSquareModuleDrawer,
7677
moduledrawers.HorizontalBarsDrawer,
7778
moduledrawers.RoundedModuleDrawer,

0 commit comments

Comments
 (0)