hanlins / image-process

Script to process image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image processing script

Image processor is a script to print metadata to the image. The script will add margin, add logo and print out the parameters for the image. It will also lower the resolution so it would be easier to share the image and protect its copyright.

Dependencies

Install pillow package:

pip install --upgrade Pillow

Usage

Run following command to process the images in the specified directory in batch:

python process.py <directory-name>

The script will create an output directory in the specified directory and put the generated images there.

Results

Here's the showcase for some of the processed images: Horizontal image The above image is a show case for horizontally aligned photo.

Vertical image The above image is a show case for vertically aligned photo.

About

Script to process image


Languages

Language:Python 100.0%