piskel-cli
v1.0.41
Published
Wraps the Piskel pixel editing application to enable similar export options via the command line.
Readme
Piskel CLI
Wraps the Piskel pixel editing application to enable similar export options via the command line.
Pixel art in Piskel can be saved as .piskel files; this CLI allows exporting from .piskel files directly without opening the GUI application.
Installation
npm install -g piskel-cliUsage
Export provided .piskel file as a png sprite sheet using app defaults
piskel-cli snow-monster.piskelExport scaled sprite sheet
piskel-cli snow-monster.piskel --scale 5Export scaled to specific (single frame) width value
piskel-cli snow-monster.piskel --scaledWidth 435Export scaled to specific (single frame) height value
piskel-cli snow-monster.piskel --scaledHeight 435Export sprite sheet as a single column
piskel-cli snow-monster.piskel --columns 1Export sprite sheet as a single row
piskel-cli snow-monster.piskel --rows 1Export a single frame (0 is first frame)
piskel-cli snow-monster.piskel --frame 3Export a second file containing the data-uri for the exported png
piskel-cli snow-monster.piskel --dataUriExport cropped
piskel-cli snow-monster.piskel --cropCustom output path and/or filename
piskel-cli snow-monster.piskel --output ./output-folder/snah-monstah.png