Image Editor

Image Editor is a simple web application that allows users to upload an image file, compress it, and download the compressed image.

Features

  • Upload an image file (jpg, png, jpeg, gif).
  • Compress the uploaded image to reduce file size.
  • Download the compressed image.
  • View compression ratio.

Technologies Used

  • HTML
  • JavaScript
  • Tailwind CSS
  • browser-image-compression npm package

Installation

  1. Clone the repository:
    git clone <repository-url>

Open index.html in your web browser.

Usage

  1. Click on the "Edit Image" button.
  2. Select an image file from your local system.
  3. Wait for the image to be compressed.
  4. Once compressed, click on the "Download Edited Image" link to download the compressed image.
  5. The compression ratio will be displayed after compression.

License

This project is licensed under the MIT LicenseMIT License.

Acknowledgements

This project utilizes the browser-image-compression npm package for image compression.

Contributing

Contributions are welcome! Please feel free to open a pull request or issue for any bugs, feature requests, or suggestions.