Socket
Socket
Sign inDemoInstall

piskel-cli

Package Overview
Dependencies
1
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    piskel-cli

Wraps the Piskel pixel editing application to enable similar export options via the command line.


Version published
Maintainers
1
Install size
8.01 MB
Created

Readme

Source

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

FAQs

Last updated on 03 Nov 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc