Skip to content

mfilipa97/Photo-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Photo Editor

This Python script, utilizing the Pillow (PIL) library, is designed for image-processing tasks. It enhances images by applying a sequence of operations and saves the edited versions in a specified directory.

Features:

Sharpness and Black & White:

Applies a sharpening filter to enhance image details. Converts the image to black and white for a classic aesthetic.

Contrast Adjustment:

Enhances the contrast of the image to improve visibility.

Output Directory:

Creates an output directory for the processed images, if it doesn't exist.

How to Use:

Install Dependencies:

Ensure that the Pillow library is installed. You can install it using pip install Pillow.
pip install Pillow

Set Input and Output Paths:

Modify the path and pathOut variables to point to your input (original photos) and output (edited photos) directories.

path: Absolute path to the directory containing original photos.
pathOut: Absolute path to the directory where edited photos will be saved.

Run the Script:

Execute the script, and it will process each image in the input directory, applying the specified enhancements, and save the edited images in the output directory.

About

Edit your photos quickly using a script!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages