Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krypton-byte/pocard
Pokemon Card Maker
https://github.com/krypton-byte/pocard
card generator maker pillow pokemon python yugioh
Last synced: 5 days ago
JSON representation
Pokemon Card Maker
- Host: GitHub
- URL: https://github.com/krypton-byte/pocard
- Owner: krypton-byte
- Created: 2021-04-23T20:26:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T19:07:56.000Z (almost 2 years ago)
- Last Synced: 2024-08-13T17:12:36.218Z (3 months ago)
- Topics: card, generator, maker, pillow, pokemon, python, yugioh
- Language: Python
- Homepage:
- Size: 3.41 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pokemon Card
# Install This Library```bash
#Pypi
$ pip3 install pocard
#Github
$ git clone https://github.com/krypton-byte/pocard
$ cd pocard && python3 setup.py build && python3 setup.py install --user
```
# UseCommandLine
```bash
krypton-byte@glitch:~/pocard$ python3 -m pocard --title a --desc hai --card-2 --CROP --save anu.jpg --image hasil.webp --help
usage: __main__.py [-h] --title TITLE --desc DESC --image IMAGE --save SAVE (--card-0 | --card-1 | --card-2 | --card-3) (--AUTO | --SCALE | --CROP)options:
-h, --help show this help message and exit
--title TITLE
--desc DESC
--image IMAGE
--save SAVECARD:
--card-0
--card-1
--card-2
--card-3METHOD:
--AUTO
--SCALE
--CROP$ python3 -m pocard --title "hello world" --desc "this is description" --image input.jpg --save output.jpg --card-0 --AUTO
```Python Interpreter
```python
>>> 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_method: scale, auto, crop
```
# Preview
# Donasi