Support for variable aspect ratio images.