ImageJointer
Build up image by jointing images
install
pip install image_jointer
how to use
from image_jointer import JointAlignment, ImageJointer
from PIL import Image
red = Image.new("RGBA", (50, 50), (255, 0, 0))
green = Image.new("RGBA", (100, 100), (0, 255, 0))
blue = Image.new("RGBA", (50, 50), (0, 0, 255))
jointed = ImageJointer().joint(JointAlignment.RIGHT_CENTER, red, green, blue)
joint_img = jointed.to_image()
from image_jointer import JointAlign, ImageJointer, Blank
from PIL import Image
red = Image.new("RGBA", (100, 100), (255, 0, 0))
blank = Blank(50, 100)
green = Image.new("RGBA", (100, 100), (0, 255, 0))
jointed = (
ImageJointer(red)
.joint(blank, JointAlign.RIGHT_CENTER)
.joint(green, JointAlign.RIGHT_CENTER)
)
joint_img = jointed.to_image()
from image_jointer import JointAlignment, ImageJointer
from PIL import Image
red = Image.new("RGBA", (100, 100), (255, 0, 0))
blue = Image.new("RGBA", (100, 200), (0, 0, 255))
green = Image.new("RGBA", (100, 100), (0, 255, 0))
jointed = ImageJointer(red).joint(JointAlignment.LEFT_BOTTOM, blue).joint(JointAlignment.DOWN_CENTER, green)
joint_img = jointed.to_image()
Release files for image-jointer 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image_jointer-2.1.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_jointer-2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / image_jointer-2.1.tar.gz
| Download URL | image_jointer-2.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb5bf4dad6b662403af45d30e937eebe95c682a85929654eddaa13822703812a
|
|
BLAKE2b-256 checksum How to use checksums |
10633578daed9efbde51aa472fde55b1b0db717922fd55833b03669c2cb1f232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / image_jointer-2.1-py3-none-any.whl
| Download URL | image_jointer-2.1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2f188adffa44e1d6584f40140b871bddc8ada3bf393a866759ee39a214c8cb9
|
|
BLAKE2b-256 checksum How to use checksums |
1a8f6261234eeca56cefc8e8441013065f9b2e084b185dd6b6da6b0d0fc2621f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|