Skip to main content

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

Metadata

Release files for create-empty-image 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for create-empty-image 0.10
File Size Uploaded Provenance Actions
create_empty_image-0.10.tar.gz 3.2 kB Without provenance Details for create_empty_image-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for create-empty-image 0.10
File Interpreter ABI Platform Actions
create_empty_image-0.10-py3-none-any.whl Python 3 none any Details for create_empty_image-0.10-py3-none-any.whl

Total release size: 7.7 kB

Release files / create_empty_image-0.10.tar.gz

Download URL create_empty_image-0.10.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f82e4de0a6573b640eb2df142d39c9c35c11127d6ee9c6f7d0d8d40feddfe94e
BLAKE2b-256 checksum
How to use checksums
5dff75b6b6a795c47f1e41c2746e5f3e6cd57f30678935c1d44343f48f5fb2a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / create_empty_image-0.10-py3-none-any.whl

Download URL create_empty_image-0.10-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13a1fc7ac6d1afca623f9d954ba9761a3c00b61b17ef5d0792991b2b57298a14
BLAKE2b-256 checksum
How to use checksums
737662e3e515cc44ea1f4aeb58e46976cbe9b94407525ce634d23c066ab6e55f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for create-empty-image 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page