How can I get bits per pixel in bitmap image? example if pixel x=24 & y=45 has RGB 123,212,112 so it must return 1111011, 11010100, 1110000.
How can I get bits per pixel in bitmap image? example if pixel x=24
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.
Your problem is not specific to pixels, basically need to get bits for the bytes:
You can use a static extension:
And use:
In your case: