[R] Convert RGB-sRBG

Dieter Menne dieter.menne at menne-biomed.de
Tue Jun 23 15:55:11 CEST 2009




Barry Rowlingson wrote:
> 
>  "8-bit color" graphics often refers to a situation where each pixel is 8
> bits, and the colour comes from a 256-colour palette lookup table.
> 

If you really have a 8 bit palettized colour lookup, as Barry assumes, you
better use one of the build-in conversions, for example from grDevices.
However, this means that you need to be a bit more specific where you get
the 8-bit values from.

Dieter


-- 
View this message in context: http://www.nabble.com/Convert-RGB-sRBG-tp24163348p24166552.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list