home.social

#nanosvg — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nanosvg, aggregated by home.social.

  1. - Updated #tiff to 4.7.1

    - Updated pl_mpeg

    - Updated #nanoSVG

    - Updated #libpng to 1.6.50

    - Updated #jasper to 4.2.8

    - Updated #AnimatedGIF to 2.2.0

    - Moved mbedTLS config out of the source tree

    - Added more examples/tests

    - Added my #VCFe talk slides from May, 2025

    #MSDOS #DOSGaming #retrocomputing #JavaScript #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing
    3/

  2. is a tiny .

    NanoSVG is a parser and rasterizer for scalable vector graphics (SVG) data. NanoSVG loads SVG into a tree of objects composed of Bézier curves, which can be iterated through. Coordinates are converted into uniform coordinates specified by the user. NanoSVG's rasterizer renders simple flat SVG into pixel data.

    Website 🔗️: github.com/memononen/nanosvg

  3. My project #fnott (notification daemon) uses #nanosvg to render SVG icons.

    I've always thought the rendered icons looked bad, compared to the ones rendered by librsvg. I chalked it up to nanosvg being "simple stupid" [sic].

    Turns out /I'm/ stupid.

    Nanosvg produces RGBA output that is NOT pre-multiplied.

    But, pixman expects pre-multiplied color channels.

    Blend a non-premultplied image as if it was pre-multiplied, and the result is, well, crap.

    github.com/memononen/nanosvg