imgResize.js for image resizing added

Resize images in a Canvas based on edge detection.