How to convert 32-bit BMP to contain alpha channel? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I have an PNG image with alpha, I need to convert it to BMP to be loaded to my OpenGL application. However, BMP has only 1 option for 32-bit, that is XRBG where 'X' is just an extra byte for padding purpose (4-byte alignment). The question is how to ultilise this 'X' byte to contain alpha channel, so that the