Skip to content

LateLag/Pixel-Art-to-SVG-Exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel-Art-to-SVG-Exporter

Quick and simple .svg exporter for pixel art. Designed and programmed in a few hours for studying purposes, made possible by Sean Barrett's stb_image.h.

How to use

Put the desired image in the same directory as the executable and then run the program with its filename as an argument, like this:

./exporter.exe image.png

This will save image.svg directly to the same directory as the program.

Full command

./exporter.exe <file: string> <scale: int> <optimize: bool>

<file> - No default - Required - The image to be converted.

<scale> - Default: 1 - Optional - The scaling factor for the resulting vector.

<optimize> - Default: true - Optional - Whether to optimize the rectangles or not.

About

Quick and simple .svg exporter for pixel art

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors