Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.47 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.47 KB

Image Wizard

Image Wizard is a collection of image processing tools built with Node.js. This project aims to simplify image manipulation tasks and make it easier to integrate image processing into your Node.js applications.

Features

  • Optimizing JPG, JPEG, PNG, and GIF images.
  • Converting JPG, JPEG, and PNG images to WebP format.

Getting Started

Installation

Clone the repository and navigate to the project directory:

git clone https://github.com/AREA44/node-images-wizard
cd node-images-wizard

Install the dependencies using pnpm:

pnpm install

Usage

All functions are located in the src directory and can be used individually based on your requirements. Here are some examples of how to use the provided functions:

  • To optimize JPG, JPEG, PNG, and GIF images, run the following command:
node examples/optimizeImage.js
  • To convert JPG, JPEG, and PNG images to WebP format, run the following command:
node examples/convertToWebp.js

The optimized images will be saved in the dist directory.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. Please ensure that your contributions align with the project's coding style and conventions.

Acknowledgements

sharp - High-performance image processing library.