Posts tagged 〝image〞
Helper functions - Resize images to a variable thumbnail size
February 1st, 2012 at 4:27 pm
A short JavaScript resize() helper that scales any image to fit a thumbnail and returns width, height and offsets, ready for drawing on HTML5 canvas.