Creates new/empty cv2 images/numpy arrays
Project description
Creates new/empty cv2 images/numpy arrays
$pip create-empty-image
from create_empty_image import create_new_image, create_new_image_same_size
a = create_new_image_same_size(
openimage=r"https://github.com/hansalemaos/screenshots/raw/main/papag_00000003.png",
color=(255, 255, 0), # rgb
)
b = create_new_image(width=200, height=300, color=(0, 0, 120, 255)) # rgba
c = create_new_image(width=200, height=300, color=(120,)) # gray
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 Distribution
Close
Hashes for create_empty_image-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a1fc7ac6d1afca623f9d954ba9761a3c00b61b17ef5d0792991b2b57298a14 |
|
MD5 | 14ddbc6221940e435ab79e8ff87c2b9d |
|
BLAKE2b-256 | 737662e3e515cc44ea1f4aeb58e46976cbe9b94407525ce634d23c066ab6e55f |