We need to give an ability to user to upload an image related to Account in a Lightning Component. This can be easily done with standard lightning:fileUpload component without any need to send file data to controller by code. The component handles it itself.
Now, we want to have a check on image dimensions - the image should be 200x200 dimensions only. I do not see anything in the documentation which can help me do this. If there is an event which is fired before saving the files and we can handle it, then this can be easily done provided it also gives us file properties.
Can anyone help/suggest a solution to this?