Img2canvas is a project mainly written in JavaScript, it's free.
大きな画像を指定したサイズのcanvasに縮小するスクリプト
404: Not Found