Archive for the ‘Calculations’ Category

Calculations To Scale An Image

Calculations To Scale An Image

Posted on: November 9th, 2011 by deanpugh

A couple of times I have had to deal with images in my code. Recently I had a project that needed the user to upload an image, which then needed to be scaled down to fit an area. Below I detail the calculations that I used. For this demonstration we will be using an image […]