Generates PJSekai backgrounds with Pillow
Project description
pjsekai_background_gen_pillow
Generates PJSekai background image from Image.
Example
from PIL import Image
import pjsekai_background_gen_pillow as pjbg
generator = pjbg.Generator()
generator.generate(Image.open("path/to/image.png")).save("path/to/output.png")
API
Generator
Generater for background images.
Parameters
base : PIL.Image
Base background image. Defaults to Built-in background image.
.generate(image)
Generate background image from source image.
Parameters
source : PIL.Image
Source image.
Returns
PIL.Image
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
Built Distribution
Close
Hashes for pjsekai_background_gen_pillow-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75344a51df512bc2f751d97bb9d0d96a83e062dd9d88b6c5a31e92d8eaffd923 |
|
MD5 | 2f94b419d54c3dfa10c8cc0877eae4cb |
|
BLAKE2b-256 | 5fbdd357045766373368172230267936aa64fd4fd784dc4025dc606f67343d8b |
Close
Hashes for pjsekai_background_gen_pillow-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc79770abd6ae395c22889159ce9933c2e9fa349ef1831cb5bcfaba597a2ca46 |
|
MD5 | c7dc0166598bed455b0abfbe991d1609 |
|
BLAKE2b-256 | 1c829ad7bc60fb4bd1faa35c2c1fd8a7183cb12d1ceb9f1ba00c975d1840bb2e |