ARGB8888 --> ARGB4444&Other Formats 收藏
int argb8888;int a=(argb8888 & 0xff000000)>>24;int r=(argb8888 & 0x00ff0000)>>16;int g=(argb8888 & 0x0000ff00)>>8;int b=(argb8888 & 0x000000ff)>>0; short argb4444=((a>>4)>4)>4)>4)short rgb555=((r>>3)>
转载
2010-03-31 11:33:00 ·
830 阅读 ·
0 评论