Disassembled the title. On this plate all painted.
http://c-site.h1.ru/infa/bmp_struct.htm But it is not clear that the size of the BITMAP header is supposed to be 40, and I have 108. Does this mean that in this gap is BITMAPV5HEADER? I decided not to slow down the headline for a long time, but in passing to begin to disassemble the image. The @header array contains all the headers in order (as in the first link) of the file header and the BITMAP header. $ header [1] is the file size in bytes, $ header [4] is the offset from which the image begins. My image is 32-bit, which means it has no palette and 4 bytes define 3 components BGR and Alpha. Specifically, my image has a size of 48x48, so I decided to disassemble 1 line (Perl code):
read (BMP, $data, $header[1]-$header[4], $header[4]); @image = unpack("C192", $data); print "@image"; On the console that's what brought.
http://saveimg.ru/show-image.php?id=6126fbac69c18fb308cd8d7b5d109595
Although I do an analysis of such a picture:
http://saveimg.ru/show-image.php?id=26c569e841b17e84d624b377ac9aab82 <br> And here's the question: is my mistake in misinterpreting, misinterpreting the format or not knowing the language?