QRCodeRenderer

struct QRCodeRenderer

Renders a QR code as a PNG, optionally in Twitarr style: outer corners of each connected shape rounded, and an “ARR” icon in the center built out of half-size blocks.

This rasterizes the image itself (via SwiftarrImage for PNG encoding) rather than using Core Graphics, because Linux has no access to it.

Yes this was some vibe-coded nonsense. What gave it away?