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.
- Optimizing JPG, JPEG, PNG, and GIF images.
- Converting JPG, JPEG, and PNG images to WebP format.
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
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.
This project is licensed under the MIT License.
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.
sharp - High-performance image processing library.