Skip to content
smart resize images in a HTML5 Canvas
JavaScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
static
.gitignore
.sizecache.json
Gruntfile.js
README.md
imgresize.build.js
imgresize.js
index.html
package.json

README.md

imgResize.js

resize images in a HTML5 Canvas

about

License: MIT
Version: 0.1.1
Date: 8.2013

info

imgResize resizes images based on edge detection. With this technology remains the important content with the same size and unimportant content disappears.
imgResize Demo

demo

Test this code on the associated github page simonwaldherr.github.io/imgResize.js/.
the best results can be achieved with Tree Silhouette, Tree and Sky, Two Trees 1 and Two Trees 2.

contact

Feel free to contact me via eMail or on Twitter. This software will be continually developed. Suggestions and tips are always welcome.

Something went wrong with that request. Please try again.