Uncaught IndexSizeError: Failed to execute ‘getImageData’ on ‘CanvasRenderingContext2D’: The source width is 0.
Introduction In this post, we will discuss a problem, which I recently came across while working with images in coding. Background The work was to take one image from the file upload control and then compress it using Canvas before uploading it to th...
Oct 4, 20162 min read73