I have created a type=file input element
<input type="file" id="input-id" accept="image/jpg" onchange="verifyFileUpload(event)">
I need to check that the file resolution is aXb using pure Javascript. How can I do that in the verifyFileUpload(event) function?
 
     
    