This is a Streamlit-based Photo Editor Web Application built with Python. It allows users to upload an image and perform various editing operations including filters, sky styles, aspect ratio cropping, text addition, brightness/contrast adjustments, and color channel visualization. Users can also download the edited image, color channels, or colormapped images.
- Supports
.jpg,.jpeg, and.pngformats. - Displays the original uploaded image.
- Rotate images by 0°, 90°, 180°, 270°.
- Crop the image to preset ratios:
1:1,4:3,16:9,9:16,3:2,21:9
- Supports horizontal and vertical offset to choose which part of the image to keep.
- Automatically fills extra space with white background if needed.
- Brightness, Contrast, Sharpness, Saturation sliders.
- Vignette effect to add stylish focus.
- Add custom text to the image.
- Options include:
- Font size, text color.
- Horizontal and vertical offsets.
- 15 stylish system fonts like Arial, Verdana, Tahoma, Impact, Comic Sans MS, etc.
- Apply popular filters:
- Invert Colors, Grayscale, Old Film (Sepia), Outlines, Warm Tone, Cool Tone, Vintage Fade, High Contrast, Soft Pastel.
- Adjust Filter Intensity.
- Enhance sky appearance with:
- Bright Day, Golden Hour, Sunset Glow, Night Sky, Stormy Mood.
- Adjust Sky Style Intensity.
- Visualize Red, Green, and Blue channels individually.
- Download each channel separately.
- Convert image to grayscale and apply a wide variety of matplotlib colormaps.
- Preview and download colormapped image.
- Examples of colormaps:
viridis,plasma,inferno,magma,cividis,hot,cool,spring,autumn, and more.
- Download Edited Image with a custom filename.
- Separate download buttons for Color Channels and Colormap images.
- Clone the repository:
git clone https://github.com/your-username/photo-editor-webapp.git- Navigate to the project folder:
cd photo-editor-webapp- Install required dependencies:
pip install -r requirements.txtstreamlit run app.py- The app will open in your default browser.
- Upload your image and start editing.
- Python 3.8+
- Streamlit
- Pillow
- NumPy
- Matplotlib
This project is licensed under the MIT License. See the LICENSE file for details.
- Vinajmuri Harsha
- GitHub: https://github.com/HARSHAVINJAMURI
- Email: [email protected]