# Creates new/empty cv2 images/numpy arrays
```python
$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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/create_empty_image",
"name": "create-empty-image",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cv2,image,numpy",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/5d/ff/75b6b6a795c47f1e41c2746e5f3e6cd57f30678935c1d44343f48f5fb2a2/create_empty_image-0.10.tar.gz",
"platform": null,
"description": "\n# Creates new/empty cv2 images/numpy arrays \n\n```python\n$pip create-empty-image\n\nfrom create_empty_image import create_new_image, create_new_image_same_size\n\na = create_new_image_same_size(\n openimage=r\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000003.png\",\n color=(255, 255, 0), # rgb\n)\n\nb = create_new_image(width=200, height=300, color=(0, 0, 120, 255)) # rgba\nc = create_new_image(width=200, height=300, color=(120,)) # gray\n\n```\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Creates new/empty cv2 images/numpy arrays",
"version": "0.10",
"project_urls": {
"Homepage": "https://github.com/hansalemaos/create_empty_image"
},
"split_keywords": [
"cv2",
"image",
"numpy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "737662e3e515cc44ea1f4aeb58e46976cbe9b94407525ce634d23c066ab6e55f",
"md5": "14ddbc6221940e435ab79e8ff87c2b9d",
"sha256": "13a1fc7ac6d1afca623f9d954ba9761a3c00b61b17ef5d0792991b2b57298a14"
},
"downloads": -1,
"filename": "create_empty_image-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "14ddbc6221940e435ab79e8ff87c2b9d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4542,
"upload_time": "2022-12-29T07:42:13",
"upload_time_iso_8601": "2022-12-29T07:42:13.835966Z",
"url": "https://files.pythonhosted.org/packages/73/76/62e3e515cc44ea1f4aeb58e46976cbe9b94407525ce634d23c066ab6e55f/create_empty_image-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5dff75b6b6a795c47f1e41c2746e5f3e6cd57f30678935c1d44343f48f5fb2a2",
"md5": "8797ae72930cd8990863711b98c7c981",
"sha256": "f82e4de0a6573b640eb2df142d39c9c35c11127d6ee9c6f7d0d8d40feddfe94e"
},
"downloads": -1,
"filename": "create_empty_image-0.10.tar.gz",
"has_sig": false,
"md5_digest": "8797ae72930cd8990863711b98c7c981",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3188,
"upload_time": "2022-12-29T07:42:15",
"upload_time_iso_8601": "2022-12-29T07:42:15.521580Z",
"url": "https://files.pythonhosted.org/packages/5d/ff/75b6b6a795c47f1e41c2746e5f3e6cd57f30678935c1d44343f48f5fb2a2/create_empty_image-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-29 07:42:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hansalemaos",
"github_project": "create_empty_image",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "a_cv_imwrite_imread_plus",
"specs": []
},
{
"name": "numpy",
"specs": []
}
],
"lcname": "create-empty-image"
}