Resize an image. You can specify the new width and height. You can also choose to keep the aspect ratio or not. Image formats supported: png, jpg, jpeg, gif, bmp, tiff