Problem
The menu bar icon (18x18 / 36x36) appears blurry/fuzzy due to the complex bezier curves in the SVG generated by vtracer.
Investigation
- The original
gitpeek-menubar.svg contains thousands of bezier curve coordinates
- At 18px/36px, these complex paths produce anti-aliasing artifacts that look "fuzzy"
- ImageMagick's SVG renderer doesn't properly handle stroke-width
rsvg-convert renders strokes correctly but the bezier complexity is the root cause
- Geometric SVG (circles + lines) renders crisp but changes the design feel
Possible approaches
Notes
rsvg-convert (librsvg) gives better results than ImageMagick for SVG→PNG
- macOS menu bar icons use
isTemplate = true so only shape matters (auto light/dark)
Problem
The menu bar icon (18x18 / 36x36) appears blurry/fuzzy due to the complex bezier curves in the SVG generated by vtracer.
Investigation
gitpeek-menubar.svgcontains thousands of bezier curve coordinatesrsvg-convertrenders strokes correctly but the bezier complexity is the root causePossible approaches
arrow.triangle.branch) for pixel-perfect renderingNotes
rsvg-convert(librsvg) gives better results than ImageMagick for SVG→PNGisTemplate = trueso only shape matters (auto light/dark)