This project is a React application that allows users to compress JPEG files through a user-friendly interface. It features a drag-and-drop area for file uploads, a selection menu for different compression sizes, a progress bar to indicate the compression status, and a download button for the compressed files.
- Drag-and-Drop Interface: Easily upload JPEG files by dragging and dropping them into the designated area.
- Compression Options: Choose from four compression sizes: large, medium, small, and very small.
- Progress Bar: Visual feedback during the compression process to show progress.
- Download Button: A button that appears once the compression is complete, allowing users to download the compressed file.
- Node.js (version 14 or higher)
- npm (Node package manager)
- Clone the repository:
git clone <repository-url> - Navigate to the project directory:
cd jpeg-compressor-app - Install the dependencies:
npm install
To start the development server, run:
npm start
This will open the application in your default web browser at http://localhost:3000.
- Drag and drop a JPEG file into the designated area.
- Select the desired compression size from the menu.
- The progress bar will indicate the compression status.
- Once the compression is complete, the download button will appear. Click it to download your compressed JPEG file.
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.