Displaying 1 result from an estimated 1 matches for "src256".
Did you mean:
sha256
2000 Jun 28
2
Colour depth reduced to 12 by bitmap devices
...output
files contain only 12 colours used in dither patterns. The result is the
same whether I use bmp() or png().
How can I get the true colours that I specified instead of dither
patterns? (making the driver's job easier!)
I am using R 1.1.0 for Windows (rw1010). The attached files are:-
src256.R Test program to be run by source("src256.R")
col_256.R Colour palette read by src256.R
col_256.dat Test data representing a 16x16 square image using
all 256 colours
Rplot.png The resulting bitmap.
If anyone can improve on my code in src256.R, then please do...