<h2>Stacks 2 images (horizontal/vertical)</h2>
```python
$pip install cv2-stack-images
from cv2_stack_images import concat2images
# Allowed image formats: url/path/buffer/base64/PIL/np
# You must pass either width or height, but not both!
# save_path is optional
b1 = concat2images(
img1=r"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",
img2=r"https://github.com/hansalemaos/screenshots/raw/main/pic4.png",
width=300,
save_path="f:\\concatimg\\vertical.png",
)
b2 = concat2images(
img1=r"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",
img2=r"https://github.com/hansalemaos/screenshots/raw/main/pic4.png",
height=300,
save_path="f:\\concatimg\\horizontal.png",
)
```
<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/vertical.png"/>
<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/horizontal.png"/>
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/cv2_stack_images",
"name": "cv2-stack-images",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cv2,numpy,stack,images",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/74/bb/f1c1cc7456065e8b16bc44ac952190a7e1cc15204e0549b3db6e5793c3a9/cv2_stack_images-0.10.tar.gz",
"platform": null,
"description": "\n<h2>Stacks 2 images (horizontal/vertical)</h2>\n\n\n\n\n\n```python\n\n\n\n$pip install cv2-stack-images\n\nfrom cv2_stack_images import concat2images\n\n\n\n# Allowed image formats: url/path/buffer/base64/PIL/np\n\n# You must pass either width or height, but not both!\n\n# save_path is optional\n\n\n\nb1 = concat2images(\n\n img1=r\"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png\",\n\n img2=r\"https://github.com/hansalemaos/screenshots/raw/main/pic4.png\",\n\n width=300,\n\n save_path=\"f:\\\\concatimg\\\\vertical.png\",\n\n)\n\nb2 = concat2images(\n\n img1=r\"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png\",\n\n img2=r\"https://github.com/hansalemaos/screenshots/raw/main/pic4.png\",\n\n height=300,\n\n save_path=\"f:\\\\concatimg\\\\horizontal.png\",\n\n)\n\n\n\n```\n\n\n\n<img src=\"https://raw.githubusercontent.com/hansalemaos/screenshots/main/vertical.png\"/>\n\n\n\n\n\n<img src=\"https://raw.githubusercontent.com/hansalemaos/screenshots/main/horizontal.png\"/>\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Stacks 2 images (horizontal/vertical)",
"version": "0.10",
"split_keywords": [
"cv2",
"numpy",
"stack",
"images"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "bfed5cc7e336a4564c5056456c3684ae",
"sha256": "7b4adb6d5206f83f4386460570452a0435aca76c2afd9d8652d09f7a4b90f329"
},
"downloads": -1,
"filename": "cv2_stack_images-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bfed5cc7e336a4564c5056456c3684ae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5012,
"upload_time": "2022-12-29T21:02:53",
"upload_time_iso_8601": "2022-12-29T21:02:53.987361Z",
"url": "https://files.pythonhosted.org/packages/d3/6c/df3878ce30d6b8e418348eb2be603116bfef668511401bdbc204d66f2602/cv2_stack_images-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "4372b4cb3be152f81c67bfa2ed68f370",
"sha256": "ece0332204ea19b127a4ae407ab09d9611903bb873e1543e84050a59d64ff76e"
},
"downloads": -1,
"filename": "cv2_stack_images-0.10.tar.gz",
"has_sig": false,
"md5_digest": "4372b4cb3be152f81c67bfa2ed68f370",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3577,
"upload_time": "2022-12-29T21:02:55",
"upload_time_iso_8601": "2022-12-29T21:02:55.627279Z",
"url": "https://files.pythonhosted.org/packages/74/bb/f1c1cc7456065e8b16bc44ac952190a7e1cc15204e0549b3db6e5793c3a9/cv2_stack_images-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-29 21:02:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansalemaos",
"github_project": "cv2_stack_images",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "cv2-stack-images"
}