Added ability to get an image resized without padding.