/py-image-tool

Image compose tools using python and more.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Image composition tools using Python

Start

Install pip:

pip install -r requirements.txt

Example

Compose image horizontally:

composite_images(image_paths, horizon_compose, margin=10, padding=10, direction='horizontal')

Result: horizon_img

Compose image vertically:

composite_images(image_paths, vertica_compose, margin=10, padding=10, direction='vertical')

Result:

vertica_img

Usage

params
image_list List of image to compose
output_image Image Path for compose result
margin Image Margin
padding Image Padding
alignment Left or Center
direction Compose direction Vertical or Horizon