I have an input (type file) that I have to read. My client must choose a 640x480 24-bit BMP file. I know it is possible to verify this in the header but I'm not able to read the data of the file. What can I do to get access to the data so I could read the header and then the body?
<input type="file" #originalFile (change)="fileChosen($event)" accept=".bmp">