1.0.1 • Published 5 years ago

ptoj v1.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

ptoj

ptoj turns png images into jpeg

ptoj is:

  • Easy - just one line of commands.
  • Powerful - you can choose different parameters to achieve different effects

Installation

$ npm install -g ptoj

Usage

CLI

Output jpeg file.

$ ptoj old.png -o new.jpeg
$ ptoj old.png // output: old.jpeg
$ ptoj old.png demo.png // output: old.jpeg demo.jpeg

Output a dir.

$ ptoj old.png -d new

Specified png images directory.

$ ptoj old -d new

Env

  • platform - only test in Mac
  • node - >= 8