An image compression tool
npm install hsa-image-compressorA command-line tool for image compression. This utility reads images from a specified directory and saves the compressed versions to another specified directory. It uses the sharp library to support JPEG and PNG formats.
- Reads images from the input directory.
- Saves compressed images to the specified output directory.
- Supports JPEG and PNG formats.
- User-configurable image quality.
To install the project globally, use the following command:
npm install -g hsa-image-compressor
hsa-image-compressor -i
## Parameters