I am making a viewer that reads pixels from a file and displays it on the screen.
The problem is that I know very little about the image.
- I know that the file is Binary.
- I know where in the binary file the image is (I'ts a 1024 byte large package of pixels)
- I know that the pixels are a 16 bit signed value. (that means that one pixels use 2 bytes?)
That's all I know.
Can anyone give me any hints on how I can retrieve this data from the file and a method to display the data?
If not, what information do I need to know to be able to retrieve this information?