Older Newer
Sun, 29 Jan 2006 12:34:58 . . . . adsl-179-49-192-81.adsl.iam.net.ma [set_bitdepth_mode description]


Changes by last author:

Added:
= set_bitdepth_mode =

== Syntax ==

: void set_bitdepth_mode(int mode)

== Arguments ==

:mode

:: Integer which can take only two values: 8 or 16

== Description ==

Setting mode to 16 will make the rgb2hsl, hsl2rgb and other color conversion function treat the passed color values as 16bit color values.

Setting mode to 8 will activate the default behaviour of these functions.

== Comments ==

: 16 bits mode means that values are in 0 to 32768 range.

:

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.