A simple Node.js application to upload images, resize them to specified dimensions or aspect ratios, and export them in both webp
and avif
formats.
- Upload images through a web interface.
- Resize images based on pixel dimensions or aspect ratios.
- Export resized images in
webp
andavif
formats. - Retain and display all historically uploaded and resized images.
- Clone the repository:
git clone https://github.com/hoichoi-opensource/imageresizer.git
cd image-resizer
- Install the required packages:
npm install
Start the server:
node server.js
Visit https://localhost:3000
in your browser to access the application.
- Click on the "Choose File" button to select an image.
- Click on the "Upload and Resize" button.
- The resized images in both
webp
andavif
formats will be displayed along with their respective file sizes.
Pull requests are welcome. Please see our CONTRIBUTING.md for guidelines on how to contribute to this project.
Checkout the current issues as well to start .