Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 416 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 416 Bytes

JS-Image-Resizer

A javascript based solution for image scaling outside of html5 canvas.

##Troubleshoot When running index.html on Chrome, only first picture loads, due to Uncaught SecurityError on line 14:
Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

Solution:

  • Running on a server instead (eg localhost)