Add in ability to resize, and change image format between tiff and jpeg.