Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I am wondering what would be the algorithm to convert a Native color to RGB(without an API). Here is an sample data and a RGB equalent.

Native = 0x0000FFDF
RGB = 0xfffaff00

NativeColor depends on the bitmap. That's why the bitmap object provided NativeToRGB().

NativeColor depends on the bitmap. That's why the bitmap object provided NativeToRGB().

Mark,
Do you suggest for optimised color conversion by using NativetoRGB()? Wont it reduce the performance?(BTW i saw your other thread and trying to do without any API http://brewforums.qualcomm.com/showthread.php?t=12817 )
If it is negligible then let me do with NativetoRGB(). The reason is I have not tested in all the handset.

Mark,
Do you suggest for optimised color conversion by using NativetoRGB()? Wont it reduce the performance?(BTW i saw your other thread and trying to do without any API http://brewforums.qualcomm.com/showthread.php?t=12817 )
If it is negligible then let me do with NativetoRGB(). The reason is I have not tested in all the handset.