Other similar scaling libraries that you might want to look into: Library have 4 scale modes and you can switch between at any time: Aspect Scaling mode - scaling with preserved aspect. Stretching - ...