Skip to main content

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

Project description

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.

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

pega-0.3.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

pega-0.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file pega-0.3.0.tar.gz.

File metadata

  • Download URL: pega-0.3.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for pega-0.3.0.tar.gz
Algorithm Hash digest
SHA256 72581381f4b7df100582f912ae3ce5253e81d88fa86db226aeeb6c8bb7332419
MD5 ab1ffa12ae3331b6ae03b7e5ccfbbbff
BLAKE2b-256 30555eebdfd273a458c900ed850dc1f77ca86474ad9dde5027fab13c73c40383

See more details on using hashes here.

File details

Details for the file pega-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pega-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for pega-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15fd7586383bb5c26fd821fd6d475571e68092ae464111addecf70a34eeece19
MD5 618d8650d3cbe34aa8445b028c6bca61
BLAKE2b-256 2201d8bcd4ed160154a6bd25fe721708bf4a40b1c2e12a04f3a92fd893995b38

See more details on using hashes here.

Supported by

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