Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_empty_image-0.10.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_empty_image-0.10-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for create_empty_image-0.10.tar.gz
Algorithm Hash digest
SHA256 f82e4de0a6573b640eb2df142d39c9c35c11127d6ee9c6f7d0d8d40feddfe94e
MD5 8797ae72930cd8990863711b98c7c981
BLAKE2b-256 5dff75b6b6a795c47f1e41c2746e5f3e6cd57f30678935c1d44343f48f5fb2a2

See more details on using hashes here.

File details

Details for the file create_empty_image-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for create_empty_image-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 13a1fc7ac6d1afca623f9d954ba9761a3c00b61b17ef5d0792991b2b57298a14
MD5 14ddbc6221940e435ab79e8ff87c2b9d
BLAKE2b-256 737662e3e515cc44ea1f4aeb58e46976cbe9b94407525ce634d23c066ab6e55f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page