Skip to main content

PokemonCard Generator

Project description

Pokemon Card

Install This Library

$ git clone https://github.com/krypton-byte/pocard
$ cd pocard && python3 setup.py build && python3 setup.py install --user

Use

CommandLine

$ pocard index[0-3] "title" "desc" input_image output_image method:[scale, crop, auto]
example:
$ pocard 0 "Title" "desc" in.png out.jpg scale

Python Interpreter

>>> from pocard import CARDS
>>> CARDS[0].maker("Title", "image_input.png", "Desk", font_color=(0, 0, 0), image_method="auto").show()
>>> CARDS[0].maker("Title", "image_input.png", "Desk", font_color=(0, 0, 0), image_method="auto").save("out.png)
# image_input type: BytesIO, Image.open Object, string(path+filename)
# image_merhod: scale, auto, crop

Preview

Donasi

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

pocard-0.0.7.tar.gz (3.7 MB view hashes)

Uploaded Source

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