All Projects → anuj-kosambi → autosvg

anuj-kosambi / autosvg

Licence: other
Autosvg is tracing tool, which can convert image format like (jpg,png,gif) into vector

Programming Languages

javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
typescript
32286 projects
CMake
9771 projects
SCSS
7915 projects
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to autosvg

HEIF
Mac OS X: Convert any image to HEIF/HEIC format
Stars: ✭ 58 (+65.71%)
Mutual labels:  jpg, png, convert
HEIF-converter
Converter for High Efficiency Image Format(HEIF)
Stars: ✭ 24 (-31.43%)
Mutual labels:  jpg, png, convert
heic-convert
🤳 convert heic/heif images to jpeg and png
Stars: ✭ 104 (+197.14%)
Mutual labels:  jpg, png, convert
Imageviewer
HDR, PFM, DDS, KTX, EXR, PNG, JPG, BMP image viewer and manipulator
Stars: ✭ 71 (+102.86%)
Mutual labels:  jpg, png
Quickshot
Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.
Stars: ✭ 663 (+1794.29%)
Mutual labels:  jpg, png
Image Optimizer
Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
Stars: ✭ 785 (+2142.86%)
Mutual labels:  jpg, png
Gimage
A PHP library for easy image handling. 🖼
Stars: ✭ 148 (+322.86%)
Mutual labels:  jpg, png
Ccapture.js
A library to capture canvas-based animations at a fixed framerate
Stars: ✭ 2,836 (+8002.86%)
Mutual labels:  jpg, png
wordpress-plugin
Speed up your WordPress website. Optimize your JPEG and PNG images automatically with TinyPNG.
Stars: ✭ 78 (+122.86%)
Mutual labels:  jpg, png
oculante
A minimalistic crossplatform image viewer written in rust
Stars: ✭ 169 (+382.86%)
Mutual labels:  jpg, png
save-html-as-image
Download the HTML (DOM) to Image (JPG, PNG)
Stars: ✭ 26 (-25.71%)
Mutual labels:  jpg, png
ee.Screen
Takes screenshots of web pages for the list of URLs. Various resolutions, multiple formats (JPG, PDF, PNG and TXT)
Stars: ✭ 19 (-45.71%)
Mutual labels:  jpg, png
Imagemin
[Unmaintained] Minify images seamlessly
Stars: ✭ 4,948 (+14037.14%)
Mutual labels:  jpg, png
Exifr
📷 The fastest and most versatile JS EXIF reading library.
Stars: ✭ 448 (+1180%)
Mutual labels:  jpg, png
Optimise Images
Batch image resizer, optimiser and profiler using ImageMagick convert, OptiPNG, JpegOptim and optional ZopfliPNG, Guetzli and MozJPEG.
Stars: ✭ 64 (+82.86%)
Mutual labels:  jpg, png
highcharts-export-clientside
Module for Highcharts to exports charts client-side
Stars: ✭ 49 (+40%)
Mutual labels:  jpg, png
QuickImageFX
Simplifying image manipulation using GDI, Graphics32, OpenCV or Vampyre Imaging libraries
Stars: ✭ 41 (+17.14%)
Mutual labels:  jpg, png
imei
IMEI - ImageMagick Easy Install
Stars: ✭ 126 (+260%)
Mutual labels:  jpg, png
dom-to-image-more
Generates an image from a DOM node using HTML5 canvas
Stars: ✭ 231 (+560%)
Mutual labels:  jpg, png
node-pdftocairo
📃 Node.js wrapper for pdftocairo - PDF to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo
Stars: ✭ 17 (-51.43%)
Mutual labels:  png, convert

AutoSvg

All Contributors

Autosvg is tracing tool, which can convert image format like (jpg,png,gif) into vector svg. You can check your result here (Live Demo)[https://autosvg.now.sh].

Results

Clipart tracing

Result-1

Logo tracing

Result-2

Image tracing

Result-3

Building AutoSVG-WASM.js

Prerequisite

  • cmake, boost, python

  • MacOS

> brew install cmake boost

Automatic Setup

> git submodule update --init

> sh build.sh

Manual Setup

#
# https://github.com/emscripten-core/emsdk.git
#
export EMSDK=< path to Emscripten SDK repo>
#
# https://github.com/opencv/opencv.git
#
export OPENCV_SDK=<path to opencv repo>
#
# https://github.com/dpilger26/NumCpp.git
#
export NUMCPP=<path to numcpp repo>
  • Build Emscripten

https://emscripten.org/docs/getting_started/downloads.html

  • Build OpenCV WASM
cd $OPENCV_SDK
python ./platforms/js/build_js.py build_wasm --build_wasm
cd ../..
  • Run cmake building script for emscripten tool chain via
> cmake -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
  • Run make command to complile source code and building WASM file.
> make
Scanning dependencies of target autosvg-wasm
[ 25%] Building CXX object CMakeFiles/autosvg-wasm.dir/src/cpp/AutosvgWASM.cpp.o
[ 50%] Building CXX object CMakeFiles/autosvg-wasm.dir/src/cpp/core/Operations.cpp.o
[ 75%] Building CXX object CMakeFiles/autosvg-wasm.dir/src/cpp/utils/CurveUtils.cpp.o
[100%] Linking CXX executable autosvg-wasm.js
[100%] Built target autosvg-wasm 
  • Copy wasm files to ui-app public folder.
cp autosvg-wasm.* src/autosvg_ui/public

Running AutoSVG-UI

> cd src/autosvg_ui/ && npm install
> npm run start 

Contributors

Thanks goes to these wonderful people (emoji key):


Abhas Tandon

💻

Prasoon

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].