Archived

This topic is now archived and is closed to further replies.

Nullio

24 bit -> 16 bit

Recommended Posts

llyod    122


I use this, which has worked pretty good (pseudocode):

(short) RGB = ((R & 248) << 8) + ((G & 252) << 3) + ((B & 248) >> 3);



Regards,
llyod

Share this post


Link to post
Share on other sites