Getting the pixel value of BMP file
i got a question for reading an bmp image. How can i get the pixel value(R, G, B values) in an bmp image? Can anyone help me using the C programming language? The easy way would be to find a good image manipulation library for your chosen platform and use that. Linux ImLib / GDK-Pixbuf (Gnome/GTK) / QT Image (KDE/Qt) should be able to do what you need. Windows I'm not familiar with the appropriate system library, but an MSDN Search for "Bitmap" is probably a good place to start. Mac OSX Cocoa has some image manipulation capabilities, see this article . The hard way would be to open the file