0.1.8 • Published 3 years ago

pixaki v0.1.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Pixaki CLI

A CLI for Pixaki 4 files.

ImageMagick

First download and install ImageMagick, this package will not work without it.

Install Globally

npm install -g pixaki

Currently, each command only exports as a spritesheet as this tool was designed, primarily, for use with Working Copy.

Usage

pixaki export <PATH> [--columns=COUNT] [--outDir=OUT_DIR] [--cwd=CURRENT_WORKING_DIRECTORY]
``

``
px e <PATH> [-c COUNT] [-o OUT_DIR] [--cwd=CURRENT_WORKING_DIRECTORY]
  • COUNT: When to "wrap" the spritesheet (defaults to 8)
  • PATH: The pixaki project(s) to export from (requires .pixaki)
  • OUT_DIR: The output folder.
  • CURRENT_WORKING_DIRECTORY: The current working directory where to look for files (this will be ignored in the outDir)

Example

pixaki export my-sprite.pixaki
pixaki export 'my-art/**.*.pixaki' --outDir=some-folder
pixaki export my-sprite.pixaki --columns=4
px e my-sprite.pixaki -c 4 -o some-folder

Specific layer exporting

This will grab 1 layer by name and create a spritesheet out of it. It will not respect any visibility or opacity settings and will be the raw drawing. Originally designed for exporting texture mapping. (Normals, Masks etc.)

pixaki layer <PATH> <LAYER_NAME> [-c, --columns=COUNT] [-o, --outDir=OUT_DIR]
px l <PATH> <LAYER_NAME> [-c, --columns=COUNT] [-o, --outDir=OUT_DIR]
  • LAYER_NAME: can be anything, it just has to match a layer name within Pixaki
0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago