Archive > March 2009

Keeping aspect ratio when scaling an image

Scaling an image to keep it under specific bounds, for visualizing purposes is a common task, but it’s even better if we can scale the image without deforming it. In this cases we have to scale the image and keep it’s original aspect ratio. Nowadays there are thousands of libraries for any general purpose language […]

Continue reading

, , , , ,