This library is only used to convert png to svg, but it is recommended to be used with SVGO.
if you want to build it, you shoud install rust
and wasm-pack
if you wang to use, please:
cd www
npm install
npm run start
If you want to use it in Nuxt3: please use release/pkg-web
demo: https://www.zngg.net/tool/detail/PngToSvg
demo code: https://github.com/ZN-GG/ZNGG-Nuxt3/blob/main/pages/tool/detail/PngToSVG.vue
wasm-pack build
wasm-pack build --target web
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)