[READ-ONLY] Mirror of https://github.com/Schniz/svgify. service to threshold-svg your images
nodejs service svg
0

Configure Feed

Select the types of activity you want to include in your feed.

JavaScript 100.0%
7 4 0

Clone this repository

https://tangled.org/schlez.in/svgify https://tangled.org/did:plc:h35m4ed5ufpizymrgjaa3sqa
git@tangled.org:schlez.in/svgify git@tangled.org:did:plc:h35m4ed5ufpizymrgjaa3sqa

For self-hosted knots, clone URLs may differ based on your setup.



README.md

SVGify#

A small web service to create threshold svgs for pictures. Why would you use it? maybe you can upload images in your CMS, and you want great UX while loading huge images.

Demos#

input output original size(gz) svg size(gz) credits
5.96kb 1.45kb image by @bethsolano from Unsplash
7.14kb 4.24kb image by @clemono from Unsplash
6.07kb 1.17kb image by @joeypilgrim from Unsplash

The service also shrinks the images, and since SVGs are vector graphics, you can scale it up to the original size yourself. So the difference is much higher.

Usage:#

curl localhost:3000 -X POST --data-binary "@clem-onojeghuo-picture.jpg"  > clem-onojeghuo-picture.svg

Credits#

I just wrote a small service that does whatever @medatech wrote on his tweet did.