All the distances will be scaled by the same amount. Call this scaling factor . So if the original width is 500 and the scaled width is 500+N then you have or by dividing by 500, . So if X was at a point (a,b), its position on the new image will be . Make sense?