# import
import cv2 as cv

# read image
image = cv.imread('logo_color.png')

# resize image
height = image.shape[0] #get height
width = image.shape[1] #get width
percent = 0.2
new_height = int(height * percent)
new_width = int(width * percent)

size = (new_height, new_width)

reduced_image = cv.resize(image, size, interpolation=cv.INTER_AREA)

# show image
cv.imshow('IMAGE', reduced_image)

# wait with open window
cv.waitKey(0)
# destroy window
cv.destroyAllWindows()




4f2a342467685775b1278465c70de602822ced76
<mask token>

<mask token>
cv.imshow('IMAGE', reduced_image)
cv.waitKey(0)
cv.destroyAllWindows()

<mask token>
image = cv.imread('logo_color.png')
height = image.shape[0]
width = image.shape[1]
percent = 0.2
new_height = int(height * percent)
new_width = int(width * percent)
size = new_height, new_width
reduced_image = cv.resize(image, size, interpolation=cv.INTER_AREA)
cv.imshow('IMAGE', reduced_image)
cv.waitKey(0)
cv.destroyAllWindows()

import cv2 as cv
image = cv.imread('logo_color.png')
height = image.shape[0]
width = image.shape[1]
percent = 0.2
new_height = int(height * percent)
new_width = int(width * percent)
size = new_height, new_width
reduced_image = cv.resize(image, size, interpolation=cv.INTER_AREA)
cv.imshow('IMAGE', reduced_image)
cv.waitKey(0)
cv.destroyAllWindows()

# import
import cv2 as cv

# read image
image = cv.imread('logo_color.png')

# resize image
height = image.shape[0] #get height
width = image.shape[1] #get width
percent = 0.2
new_height = int(height * percent)
new_width = int(width * percent)

size = (new_height, new_width)

reduced_image = cv.resize(image, size, interpolation=cv.INTER_AREA)

# show image
cv.imshow('IMAGE', reduced_image)

# wait with open window
cv.waitKey(0)
# destroy window
cv.destroyAllWindows()



