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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to