alphapng

0.0.4 • Public • Published

experimental

alphapng

Very minimal cli tool to separate alpha and rgb channels from a transparent png file. RGB channels will be saved in a compressed jpg file and Alpha channel in a simplified Png. It can be used to reduce image size if you can programmatically combine the channels later (in canvas for an example).

Installation

npm install alphapng -g

Usage

From terminal or npm script.

Usage:
  alphapng png
 
Params:
  png   input png file to process
 
Options:
  -h, --help        show help
  -v, --version     show version
  -f, --filename    name of the new png and jpg (no extension, default is "out")
  -q, --quality     jpg compression quality

Dependents (0)

Package Sidebar

Install

npm i alphapng

Weekly Downloads

2

Version

0.0.4

License

ISC

Last publish

Collaborators

  • superguigui