1.0.41 • Published 6 years ago

piskel-cli v1.0.41

Weekly downloads
67
License
Apache-2.0
Repository
github
Last release
6 years ago

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-cli

Usage

Export provided .piskel file as a png sprite sheet using app defaults

piskel-cli snow-monster.piskel

Export scaled sprite sheet

piskel-cli snow-monster.piskel --scale 5

Export scaled to specific (single frame) width value

piskel-cli snow-monster.piskel --scaledWidth 435

Export scaled to specific (single frame) height value

piskel-cli snow-monster.piskel --scaledHeight 435

Export sprite sheet as a single column

piskel-cli snow-monster.piskel --columns 1

Export sprite sheet as a single row

piskel-cli snow-monster.piskel --rows 1

Export a single frame (0 is first frame)

piskel-cli snow-monster.piskel --frame 3

Export a second file containing the data-uri for the exported png

piskel-cli snow-monster.piskel --dataUri

Export cropped

piskel-cli snow-monster.piskel --crop

Custom output path and/or filename

piskel-cli snow-monster.piskel --output ./output-folder/snah-monstah.png
1.0.41

6 years ago

1.0.39

6 years ago

1.0.38

6 years ago

1.0.36

6 years ago

1.0.35

6 years ago

1.0.34

6 years ago

1.0.33

6 years ago

1.0.32

6 years ago

1.0.31

6 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago