I use the following to convert from ARGB1555 to ARGB8888
Can you anyone tell me equivalent code for converting ARGB8888 to ARGB1555Code:TempColor = ((pColor->Value.argb.B & 0xF8) << 7) |
((pColor->Value.argb.G & 0xF8) << 2) |
((pColor->Value.argb.R & 0xF8) >> 3) |
((pColor->Value.argb.A & 0x80) << 8);
Thanks in advance