#This script resizes large images while preserving the aspect ratio as well as feature proportions within the image. Useful for reducing enormous images that are to be used as input for HARE

import PIL
from PIL import Image

basewidth = 800
img = Image.open('multiphase_full_cropped.png') #edit this line for the image you want to resize

wpercent = (basewidth/float(img.size[0]))
hsize = int((float(img.size[1])*float(wpercent)))
img = img.resize((basewidth,hsize),PIL.Image.ANTIALIAS)
img.save('multiphase_full_cropped_resized.png')
