[AD] Color convertors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



Hi,

I've been modifying the color convertors (icolconv.s) to allow working spans of any length (also making them faster in the process :), as requested by Angello for the BeOS port. It could also be useful for the Windows port as that tends to lock up sometimes in the convertors.

In any case, I was re-writting the 16->32 convertor, and as Angello found out, white (0xFFFF) was converted to a nice shade of gray (0xF8FCF8). So my question is: should I add 0x070307 to the converted color, or leave things as is? What about 0x030103?

Something similar will be done for the 15->32 too.


In GIMP, I have tried both colors 0x000000 and 0x070307, and fail to see any difference between each other, even when setting the brightness to max.


--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/