Image Editor is a simple web application that allows users to upload an image file, compress it, and download the compressed image.
- Upload an image file (jpg, png, jpeg, gif).
- Compress the uploaded image to reduce file size.
- Download the compressed image.
- View compression ratio.
- HTML
- JavaScript
- Tailwind CSS
- browser-image-compression npm package
- Clone the repository:
git clone <repository-url>
Open index.html in your web browser.
- Click on the "Edit Image" button.
- Select an image file from your local system.
- Wait for the image to be compressed.
- Once compressed, click on the "Download Edited Image" link to download the compressed image.
- The compression ratio will be displayed after compression.
This project is licensed under the MIT LicenseMIT License.
This project utilizes the browser-image-compression npm package for image compression.
Contributions are welcome! Please feel free to open a pull request or issue for any bugs, feature requests, or suggestions.