Skip to main content

Stacks 2 images (horizontal/vertical)

Project description

Stacks 2 images (horizontal/vertical)

$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",

)

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

cv2_stack_images-0.10.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

cv2_stack_images-0.10-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file cv2_stack_images-0.10.tar.gz.

File metadata

  • Download URL: cv2_stack_images-0.10.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cv2_stack_images-0.10.tar.gz
Algorithm Hash digest
SHA256 ece0332204ea19b127a4ae407ab09d9611903bb873e1543e84050a59d64ff76e
MD5 4372b4cb3be152f81c67bfa2ed68f370
BLAKE2b-256 74bbf1c1cc7456065e8b16bc44ac952190a7e1cc15204e0549b3db6e5793c3a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cv2_stack_images-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4adb6d5206f83f4386460570452a0435aca76c2afd9d8652d09f7a4b90f329
MD5 bfed5cc7e336a4564c5056456c3684ae
BLAKE2b-256 d36cdf3878ce30d6b8e418348eb2be603116bfef668511401bdbc204d66f2602

See more details on using hashes here.

Supported by

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