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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f7aca167de83a724f4b8b379bed06eb26311d7e3cf663606b03be38be9cdab |
|
MD5 | eeb5e77a73aa190b495790e09ffc9a3b |
|
BLAKE2b-256 | 071a0e7cc3c7df507e9698890c1e171e1fc74e7fd88c1b85ca48e4f4d8a825a9 |
Close
Hashes for pjsekai_background_gen_pillow-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a643305e3fe659443f241ea51b48c73daad5a454b0ce9a78c419d00059e6dd |
|
MD5 | 3873c96cd0898182548e3887e7beef95 |
|
BLAKE2b-256 | 6cb9d7ea2b3b4b9b5ac98c4ac83c25b1cb05d4e262cb27e052fee1ec171b6261 |