Giter Site home page Giter Site logo

yaph / pega Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18 KB

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

Home Page: https://pypi.org/project/pega/

License: MIT License

Python 81.37% Shell 6.94% Makefile 11.69%
cli-app image-processing python-pillow pypi-package python-package

pega's Introduction

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.

pega's People

Contributors

yaph avatar

Watchers

 avatar  avatar

pega's Issues

Create PyPI package

Add Installation section to README when package is published:

pip install pega

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.