I know you can programmatically determine the tranparency color of a .gif
Is there a way to do the same for a Bitmap?
Right now, I am doing this heuristically by sampling around the outer edge but of course this is not 100% reliable.
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.
I don’t believe the BMP file format supports the concept of transparency. My understanding is that if BMP images are used with transparency, it’s using an application-defined colour, like RGB(255,0,255) to specify transparent areas.