resize images in a HTML5 Canvas
imgResize resizes images based on edge detection. With this technology remains the important content with the same size and unimportant content disappears.
Test this code on the associated github page simonwaldherr.github.io/imgResize.js/.
the best results can be achieved with
Tree and Sky,
Two Trees 1 and
Two Trees 2.