As the question states, I'd like some way to read files on the client side using JavaScript (is there any other possible alternative?).
These files(images mostly) are part of the webpage, and so I do not need access to the filesystem.
So basically my question should reduce to, is it possible to open a file in binary mode in JavaScript and read it byte by byte?
There seems to be some confusion as to what I'm trying to achieve. The question How do I load binary image data using Javascript and XMLHttpRequest? deals with the case when the user is actually able make his own requests to the server and set his own mime-types etc.
I wish to create a js function/script that reads the already loaded files on the web-page as binary, for the purposes of meta-data extraction.