mathewchris96 / iLoveImg

https://i-love-img.vercel.app
0 stars 0 forks source link

Image manipulation #3

Open mathewchris96 opened 2 months ago

mathewchris96 commented 2 months ago

Here's a high-level overview of the features and design for the image manipulation website:

Features:

Upload Images: Allow users to upload images from their local device. Resize Images: Provide functionality to resize uploaded images to specified dimensions. Crop Images: Enable users to crop uploaded images to a desired area. Compress Images: Allow users to compress images to reduce file size. Download Manipulated Images: Provide options to download manipulated images after applying desired modifications. Design and Implementation:

Frontend Design:

Create a clean and user-friendly interface using HTML, CSS, and JavaScript. Implement responsive design to ensure compatibility across different devices and screen sizes. Use modern design principles and UI components to enhance user experience. Backend Implementation:

Use Flask, a lightweight Python web framework, to handle server-side logic and routing. Implement routes for uploading images, resizing, cropping, compressing, and downloading manipulated images. Utilize libraries like Pillow (PIL) for image processing tasks such as resizing, cropping, and compression. Folder Structure:

Organize the project into separate folders for better organization and maintainability. Have folders for static files (CSS, JavaScript), HTML templates, and Python backend code (Flask app). Upload Page:

Create an upload page where users can select and upload images. Provide a file input field and a submit button for uploading images. Manipulation Options Page:

After uploading images, redirect users to a manipulation options page. Display options for resizing, cropping, and compressing images. Include buttons or dropdowns to select parameters for each manipulation task. Result Page:

Show the manipulated images or provide download links on the result page. Include options to go back and make further modifications or download the manipulated images. Tech Stack:

Flask: Backend web framework for handling server-side logic and routing. HTML, CSS, JavaScript: Frontend languages for building the user interface and adding interactivity. Pillow (PIL): Python Imaging Library for image processing tasks such as resizing, cropping, and compression.

testbot-codemonk[bot] commented 2 months ago

Resolving the issue ⏳

testbot-codemonk[bot] commented 2 months ago

Issue is Resolved 🚀
Pull Request Created at: https://github.com/mathewchris96/iLoveImg/pull/4