Vostok converts an image to a pixelated SVG.
Восток (Vostok in English) was the Russian spacecraft that in 1961
allowed the first human spaceflight.
imagemagick to work.
Install it with:
brew install imagemagick
Linux: search your distribution repositories for
sudo apt install imagemagick
Windows: Chocolatey has an
imagemagick package, but no tests have been done :)
Vostok has been successfully built using
elixir 1.7.4 and
Has not been tested on different versions.
To build from command line:
$ # clone using HTTPS URL $ git clone https://github.com/spawnfest/vostok.git && cd vostok $ # clone using SSH URL $ git clone email@example.com:spawnfest/vostok.git && cd vostok
Then install dependencies and build the CLI application:
$ mix deps.get $ mix escript.build
Vostok takes the path of the image to convert:
$ vostok path/to/the/image.jpg
vostok --help to see usage and help.
Has been tested with
png image formats, works probably with other formats
supported by ImageMagick.
Once Vostok finishes processing the image, it tries to open you browser at
static/index.html to display it's work.
In case this does not happen, manually open the
index.html file in the
folder of this repository with a recent browser.
You can run the supplied test suite with:
$ mix test