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?
i got a question for reading an bmp image. How can i get the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easy way would be to find a good image manipulation library for your chosen platform and use that.
The hard way would be to open the file and actually interpret the binary data within. To do that you’ll need the BMP File Specification. I’d recommend trying the easy way first.