html5-canvas-drag-and-drop-resize-and-invert-images