Aspect ratio is now properly preserved inresizedImageWithMaxEdge method.