This is a C# Console application where you can open a BMP image file as a binary file and read information such as the width, height and bits per pixel of the image.
You can see the struture of a BMP File here http://www.ue.eti.pg.gda.pl/fpgalab/zadania.spartan3/zad_vga_struktura_pliku_bmp_en.html
You can check my blog where I explain basicly what and how I did it here (Spanish): https://teamgeekrd.wordpress.com/2016/08/13/c-leer-informacion-binaria-de-un-archivo-bmp/
You can make it better and read more information from a BMP File. This is only a test.
Esta es una aplicación de consola de C # donde se puede abrir un archivo de imagen BMP como un archivo binario y leer la información, como la anchura, la altura y bits por píxel de la imagen.
Se puede ver la estrutura de un archivo BMP aquí: http://www.ue.eti.pg.gda.pl/fpgalab/zadania.spartan3/zad_vga_struktura_pliku_bmp_en.html
Puede comprobar mi blog donde explico básicamente qué y cómo lo hice aquí: https://teamgeekrd.wordpress.com/2016/08/13/c-leer-informacion-binaria-de-un-archivo- bmp /
Se puede mejorar este código y leer más información de un archivo BMP. Esto es solo una prueba.