This repository contains a simple yet powerful image compressor built using ASP.NET Core. The goal of this project is to provide an easy way to upload and optimize images by reducing their file size while maintaining the image quality as much as possible.
- Image Upload: Allows users to upload images.
- Image Compression: Compresses the uploaded images to reduce file size without significant quality loss.
- ASP.NET Core: Built with ASP.NET Core MVC 8 for modern web application architecture.
Before running the project, ensure you have the following installed:
- .NET SDK (version 8 or later)
- Any preferred IDE that supports ASP.NET Core projects (Visual Studio, VS Code, etc.)
-
Clone the repository:
git clone https://github.com/naazeri/Image-Compressor.git
-
Navigate to the project directory:
cd Image-Compressor
-
Restore the dependencies:
dotnet restore
-
Run the application:
dotnet run
- Navigate to the image upload section to upload an image.
- The application will automatically compress the uploaded image.
- You can find the compressed images after the process completes in
wwwroot/images
directory.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is licensed under the MIT License.
This project is an ASP.NET Core MVC 8 application that allows users to upload multiple images (up to 100 images at once, with each image up to 50 MB). The images are uploaded to a server, optimized, and stored in a separate directory. Users are shown progress while the optimization is happening and are notified once the process is complete.
- Multiple Image Uploads: Upload up to 100 images in a single batch.
- File Size Restriction: Each image file is restricted to a maximum size of 50 MB.
- Image Optimization: Images are processed and optimized after upload. The optimized images are stored in a separate directory.
- Loading Indication: Users are notified while the optimization process is taking place.
- No Authentication: This project does not include any user authentication.
- .NET SDK 8.0
- Visual Studio or any code editor with .NET Core support
git clone https://github.com/yourusername/ImageUploader.git
cd ImageUploader