Allow aspect ratio change

Centers image on a transparent background, keeping it square.