10 June 2014
Tutorial: Fitting images to a size
While developing an app, you often have to load an image whose dimensions are unknown. The question of how to scale the image is frequently asked, so let's look at a simple function that will scale any image to fit in an arbitrary box....