python from SimpleCV import Image img = Image("image.jpg") gray_img = img.grayscale() resized_img = gray_img.resize(320, 240) resized_img.show()