Skip to content

Conversation

@tobiasploetz
Copy link

Add SvgRoundedModuleDrawer for SVG QR codes with rounded corners

Description

This PR adds a new SvgRoundedModuleDrawer class that enables the creation of SVG QR codes with rounded corners. The implementation is similar to the existing RoundedModuleDrawer for PIL images but adapted for SVG path generation.

Features

  • New SvgRoundedModuleDrawer class that extends SvgPathQRModuleDrawer
  • Supports customizable corner radius via the radius_ratio parameter
  • Intelligently rounds corners based on neighboring module information

(mostly written by Cursor.AI)

@bartTC
Copy link
Member

bartTC commented Jul 23, 2025

I'll continue in #406 as I'm not able to push to this branch.

@bartTC bartTC closed this Jul 23, 2025
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