Skip to main content

A simple photo collage generator

Project description

A simple collage generator

A very simple generator for image collages out of a set of images. Currently all images are resized into a square format and then places on one or more lines, partially overlapping and rotated in random orientations.

Installation

pip install collagemaker-tspspi

Usage

usage: collagemaker [-h] --output OUTPUT [--lines LINES] [--bgcolor BGCOLOR]
                    [--overlap OVERLAP] [--lineoverlap LINEOVERLAP]
                    images [images ...]

Create a flowing image collage with overlap and rotation.

positional arguments:
  images                Input image files

options:
  -h, --help            show this help message and exit
  --output OUTPUT       Output file
  --lines LINES         Number of lines (default: 2)
  --bgcolor BGCOLOR     Background color (CSS name or #RRGGBB[AA], default:
                        transparent)
  --overlap OVERLAP     Fractional horizontal overlap between images (default:
                        0.3)
  --lineoverlap LINEOVERLAP
                        Fractional vertical overlap between lines (default:
                        0.1)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collagemaker_tspspi-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collagemaker_tspspi-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file collagemaker_tspspi-0.0.1.tar.gz.

File metadata

  • Download URL: collagemaker_tspspi-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.13

File hashes

Hashes for collagemaker_tspspi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2a85a40b6af6dfc4ba338370bef46c2bbaac1e1c349d43c9bcc293e2ff9c7e38
MD5 77ddb45c68144ae981c7f865dc5c0bff
BLAKE2b-256 52a113edb75facf58788d09c73f9ed2a364b4c72c1cd1a94c66fb8ee9350179b

See more details on using hashes here.

File details

Details for the file collagemaker_tspspi-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for collagemaker_tspspi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 040826ff11ad6746a6b5f52279475414ab1617dd7c6c0a0663938e014799e7f0
MD5 7dc52c5ecf5e60efdaba3158c2c1ebfc
BLAKE2b-256 18d408b329339fc88bd8c7b1d52f53e96ad6193dba0310410646f5463955f59e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page