Video Tracer - electron-vue desktop app, which traces input videos and creates vector-styled videos using the Potrace algorithm.
- converts input video into a vector-styled video
- users can adjust: colors, threshold (detail), output format & resolution
These instructions will get you a copy of the project up and running on your local machine for development purposes.
Before you run the app in development, be sure you have these downloaded/installed on your machine:
- npm
- Node.js
- Cairo & Pango (node-canvas dependencies):
Homebrew:
brew install pkg-config cairo pango libpng jpeg giflib
MacPorts:
port install pkgconfig cairo pango libpng jpeg giflib
Ubuntu:
sudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++
Fedora:
sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel
Solaris:
pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto
# install dependencies
npm install
# serve with hot reload
npm run dev
# build electron application for production
npm run build
- Electron - Build cross platform desktop apps with JavaScript, HTML, and CSS
- Vue - JavaScript framework for building UI on the web
- base64-img - Convert img to base64, or convert base64 to img
- Bluebird - Bluebird is a full featured promise library with unmatched performance
- Fluent ffmpeg - A fluent API to FFMPEG
- node-potrace - JavaScript port of Potrace, for NodeJS
- svg2img - A high-performance in-memory converter to convert svg to png/jpeg images for Node
This project was generated with electron-vue using vue-cli. Documentation about the original structure can be found here.
- Nick Jokić - GitHub
This project is licensed under the MIT License - see the LICENSE.md file for details
- Peter Selinger for original Potrace tool and algorithm
- kilobyte for A JavaScript port of Potrace
- Iwasawafag for node-potrace
- Fuzhenn for svg2img
- Creators of fluent-ffmpeg