from imshowtools import imshow
import cv2


if __name__ == '__main__':

    image_lenna = cv2.imread("lenna.png")
    imshow(image_lenna, mode='BGR', window_title="LennaWindow", title="Lenna")

    image_lenna_bgr = cv2.imread("lenna_bgr.png")
    imshow(image_lenna, image_lenna_bgr, mode=['BGR', 'RGB'], title=['lenna_rgb', 'lenna_bgr'])
    imshow(*[image_lenna for _ in range(12)], title=["Lenna" for _ in range(12)], window_title="LennaWindow")
    imshow(*[image_lenna for _ in range(30)], title="Lenna", padding=(1, 1, 0, (0, 0, 0.8, 0.8)))

[((7, 18, 7, 41), 'cv2.imread', 'cv2.imread', ({(7, 29, 7, 40): '"""lenna.png"""'}, {}), "('lenna.png')", False, 'import cv2\n'), ((8, 4, 8, 78), 'imshowtools.imshow', 'imshow', (), '', False, 'from imshowtools import imshow\n'), ((10, 22, 10, 49), 'cv2.imread', 'cv2.imread', ({(10, 33, 10, 48): '"""lenna_bgr.png"""'}, {}), "('lenna_bgr.png')", False, 'import cv2\n'), ((11, 4, 11, 95), 'imshowtools.imshow', 'imshow', (), '', False, 'from imshowtools import imshow\n')]