/svgify

service to threshold-svg your images

Primary LanguageJavaScript

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.