I have to read a 24bpp Bitmap and convert each pixel from RGB24 to ARGB16. I used the following code,
There are places to get lists of HTML or X11 colour names and their RGB equivalents.Fo开发者_开发技巧r instance we can find that \"Aquamarine\" is \"#70DB93\".Presumably the browsers know the mappings
I want to read the RGB values for each 开发者_JAVA技巧pixel from a raw image. Can someone tell me how to achieve this? Thanks for help!