@hentamine/imp

0.1.0 • Public • Published

Imp

Imp is a cli tool to manipulate images for web consumption.

Getting Started

npm i @hentamine/imp

Using Imp

To use Imp, navigate to the directory that contains images you want to manipulate.

cd ./<imageDir>

Imp will manipulate all images (jpg/png) within the current working directory.

It takes three parameters:

  • --width <n>
  • --height <n>
  • --quality <1-100>
imp --width 256 --height 256 --quality 100

Imp will create a new directory of all the converted images named "<width>x<height>-<quality>". All converted files will have the same name and format inside the new directory.

Package Sidebar

Install

npm i @hentamine/imp

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

2.54 kB

Total Files

3

Last publish

Collaborators

  • alexmance