import cv2 my_img = cv2.imread('4.1.04.tiff') resized_img = cv2.resize(my_img,None,fx=0.5, fy=0.5, interpolation = cv2.INTER_CUBIC) cv2.imshow('Image',resized_img) cv2.waitKey(0) cv2.destroyAllWindows()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)