A library to create funny pictures with your friends' photos.
Project description
PhotoMaker
PhotoMaker is a library to create funny pictures with your friends' photos.
Installation
pip install photomaker
Examples
from photomaker import *
MainKronos = None
someone = None
with open("documentation/input/me.jpeg", 'wb') as f:
MainKronos = f.read()
with open("documentation/input/someone.jpeg", 'wb') as f:
someone = f.read()
MainKronos
someone
Burn
MainKronos
is on fire.
with open("output.gif", 'wb') as f:
f.write(burn(MainKronos))
Salt
MainKronos
needs to be salty.
with open("output.gif", 'wb') as f:
f.write(salt(MainKronos))
Trash
MainKronos
is actually trash.
with open("output.png", 'wb') as f:
f.write(trash(MainKronos))
Delete
It is better to delete
MainKronos
.
with open("output.png", 'wb') as f:
f.write(delete(MainKronos))
Hitler
MainKronos
is worst than Hitler.
with open("output.png", 'wb') as f:
f.write(hitler(MainKronos))
RIP
MainKronos
is dead.
with open("output.png", 'wb') as f:
f.write(rip(MainKronos))
Facepalm
MainKronos
is facepalming.
with open("output.png", 'wb') as f:
f.write(facepalm(MainKronos))
Leader
MainKronos
is a good leader.
with open("output.png", 'wb') as f:
f.write(leader(MainKronos))
Beautiful
MainKronos
is really beautiful.
with open("output.png", 'wb') as f:
f.write(beautiful(MainKronos))
Affect
MainKronos
is the worst.
with open("output.png", 'wb') as f:
f.write(affect(MainKronos))
Kiss
MainKronos
kissessomeone
.
with open("output.png", 'wb') as f:
f.write(kiss(MainKronos, someone))
Spank
MainKronos
spankssomeone
.
with open("output.png", 'wb') as f:
f.write(spank(MainKronos, someone))
Bed
MainKronos
says thatsomeone
is worse than a monster.
with open("output.png", 'wb') as f:
f.write(bed(MainKronos, someone))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file photomaker-1.0.1.tar.gz
.
File metadata
- Download URL: photomaker-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695684c8c3c90d116789dbbd572c028665e12c55f3b6902be5f09204bb72ffce |
|
MD5 | 6fbf49e6607e3a23ca5acaacffc8850b |
|
BLAKE2b-256 | 570f28e53c8814f7b717786aec3246c55508696e090b5443b21903221f6a144c |
File details
Details for the file photomaker-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: photomaker-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba0bb5ba2715a4708d24fd4ba2d5ec6fb5064b0fb429f342fdfc90a0cb75a7a |
|
MD5 | 376bf9e24983a7b7982d9776bb391154 |
|
BLAKE2b-256 | 415d4f79fcca13f366f4b0188ec1c02c896a5da450c0818a2405d7d0ba00387c |
File details
Details for the file photomaker-1.0.1-1-py3-none-any.whl
.
File metadata
- Download URL: photomaker-1.0.1-1-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78cff92bd6e8383efb547160f22fdb34d63ca7dacd5dde9dd7b989a33773d2f5 |
|
MD5 | f08d15aacd677f03b9655aa4f99a472a |
|
BLAKE2b-256 | cea6c1eca09f99b5b9f36d126e026bef4203289df309d27b207f88a58255157e |