Pixels to SVG

Need a pixel-perfect scalable image, but all you have is a low-res GIF? You could use image-rendering: pixelated and hope the browser will scale it right, or you could use this tool to convert a raster image to SVG.

Each color is merged into one path, optimized for combining horizontal runs where possible to keep file size down. Works best with 8-bit images, or graphics where colors are limited and the dimensions are relatively small. Large or complex images may lock the browser.



Inspired by px2svg
下载代码说明
X关闭

HTML5实现的把图像转换成SVG文件功能源码

这是一款基于HTML5实现的把图像转换成SVG文件功能源码。点击画面下方的按钮,从弹出的对话框里选中图形文件,即可在下方生成相对应的svg格式文件。点击图片上方红色的“Download SVG”按钮,即可下载生成的svg文件。建议使用支持HTML5与css3效果较好的火狐(Firefox)或谷歌(Chrome)等浏览器预览本源码。