Skip to main content

pega

A command line tool for pasting images on top of other images.

Sample Commands

Paste 1 image on base image:

pega tests/images/base-1000x1000-m100-0-200-0.png tests/images/green-tree-python-226553_1920.jpg

For all JPEG files in directory create a new image with the JPEG pasted on the base image:

pega tests/images/base-1000x1000-m100-0-200-0.png tests/images/*.jpg

Specify margins of pasted image relative to base and output directory:

pega tests/images/base-1000x1000-m100-0-200-0.png tests/images/green-tree-python-226553_1920.jpg \
    --margins 140 40 240 40 --output-dir tests/output/

Show command help:

pega -h

Credits

Test images:

License

pega is distributed under the terms of the MIT license.

Metadata

Release files for pega 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pega 0.3.0
File Size Uploaded
pega-0.3.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pega 0.3.0
File Interpreter ABI Platform
pega-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / pega-0.3.0.tar.gz

Download URL pega-0.3.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
72581381f4b7df100582f912ae3ce5253e81d88fa86db226aeeb6c8bb7332419
BLAKE2b-256 checksum
How to use checksums
30555eebdfd273a458c900ed850dc1f77ca86474ad9dde5027fab13c73c40383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.0

Release files / pega-0.3.0-py3-none-any.whl

Download URL pega-0.3.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15fd7586383bb5c26fd821fd6d475571e68092ae464111addecf70a34eeece19
BLAKE2b-256 checksum
How to use checksums
2201d8bcd4ed160154a6bd25fe721708bf4a40b1c2e12a04f3a92fd893995b38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.0

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page