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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file create_empty_image-0.10.tar.gz.
File metadata
- Download URL: create_empty_image-0.10.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f82e4de0a6573b640eb2df142d39c9c35c11127d6ee9c6f7d0d8d40feddfe94e
|
|
| MD5 |
8797ae72930cd8990863711b98c7c981
|
|
| BLAKE2b-256 |
5dff75b6b6a795c47f1e41c2746e5f3e6cd57f30678935c1d44343f48f5fb2a2
|
File details
Details for the file create_empty_image-0.10-py3-none-any.whl.
File metadata
- Download URL: create_empty_image-0.10-py3-none-any.whl
- Upload date:
- Size: 4.5 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 |
13a1fc7ac6d1afca623f9d954ba9761a3c00b61b17ef5d0792991b2b57298a14
|
|
| MD5 |
14ddbc6221940e435ab79e8ff87c2b9d
|
|
| BLAKE2b-256 |
737662e3e515cc44ea1f4aeb58e46976cbe9b94407525ce634d23c066ab6e55f
|