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 http://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.
We welcome contributions from everyone who is interested in helping to improve this project! Whether it's fixing bugs, adding new features, improving documentation, or spreading the word, your help is appreciated.
Here are some ways you can contribute:
- Reporting bugs: If you find a bug, please report it by opening a new issue on GitHub.
- Suggesting enhancements: Have an idea to make this project better? Share it with us by opening a new issue for discussion.
- Submitting changes: Want to submit a fix or a feature? Great! Fork the repository, make your changes, and submit a pull request.
- Fork the repository: Click the 'Fork' button at the top right of this page to create your copy of the repository.
- Clone your fork:
- Create your feature branch:
- Make your changes: Implement the changes or improvements you propose.
- Commit your changes:
- Push to the branch:
- Submit a pull request: Go to your fork on GitHub and click the 'Pull Request' button to send your changes review.
Please see our CONTRIBUTING.md for guidelines on how to contribute to this project.
Checkout the current issues as well to start .