0.12.0
Overview
fix: remove gray borders around QR code modules by disabling antialiasing.
Fixed: Gray Borders Around QR Code Modules
Previous versions displayed unwanted gray borders around rectangular QR code modules when antialiasing was enabled. This occurred because antialiasing creates semi-transparent pixels at edges, which blend with the background to create visible gray lines between modules.
Solution:
- Introduced shape-specific antialiasing control via
ModuleShape.RequiresAntialiasingproperty - Rectangular modules now render without antialiasing for crisp, border-free edges
- Circular and rounded rectangle modules maintain antialiasing for smooth curves
- Text rendering in icons preserves antialiasing for optimal readability
Before:
Rectangular modules had visible gray borders between them.
After:
Sharp, clean module edges with no visual artifacts.
What's Changed
- [dotnet format] Automated changes by @github-actions[bot] in #280
- fix: remove gray borders around QR code modules by disabling antialiasing by @guitarrapc in #282
Full Changelog: 0.11.0...0.12.0