Stacks 2 images (horizontal/vertical)
Project description
Stacks 2 images (horizontal/vertical)
$pip install cv2-stack-images
from cv2_stack_images import concat2images
# Allowed image formats: url/path/buffer/base64/PIL/np
# You must pass either width or height, but not both!
# save_path is optional
b1 = concat2images(
img1=r"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",
img2=r"https://github.com/hansalemaos/screenshots/raw/main/pic4.png",
width=300,
save_path="f:\\concatimg\\vertical.png",
)
b2 = concat2images(
img1=r"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",
img2=r"https://github.com/hansalemaos/screenshots/raw/main/pic4.png",
height=300,
save_path="f:\\concatimg\\horizontal.png",
)
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
cv2_stack_images-0.10.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file cv2_stack_images-0.10.tar.gz
.
File metadata
- Download URL: cv2_stack_images-0.10.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece0332204ea19b127a4ae407ab09d9611903bb873e1543e84050a59d64ff76e |
|
MD5 | 4372b4cb3be152f81c67bfa2ed68f370 |
|
BLAKE2b-256 | 74bbf1c1cc7456065e8b16bc44ac952190a7e1cc15204e0549b3db6e5793c3a9 |
File details
Details for the file cv2_stack_images-0.10-py3-none-any.whl
.
File metadata
- Download URL: cv2_stack_images-0.10-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4adb6d5206f83f4386460570452a0435aca76c2afd9d8652d09f7a4b90f329 |
|
MD5 | bfed5cc7e336a4564c5056456c3684ae |
|
BLAKE2b-256 | d36cdf3878ce30d6b8e418348eb2be603116bfef668511401bdbc204d66f2602 |