I'm working on a toy JS project to apply filters to an image.
If I do the following:
- add an image to a page via FileReader and Drag and Drop
- apply said image to a maximum height/width of 500px canvas element via
drawImage
- apply changes to said canvas via
putImageData
- save the canvas via Canvas2Image
will the saved image be the size of the canvas element or the original image dimensions?