Re: [R] Colour depth reduced to 12 by bitmap devices

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [R] Colour depth reduced to 12 by bitmap devices
From: Prof Brian D Ripley (ripley@stats.ox.ac.uk)
Date: Thu 29 Jun 2000 - 19:19:21 EST


Message-ID: <Pine.GSO.4.05.10006291017410.23355-100000@auk.stats>

On Thu, 29 Jun 2000, Prof Brian D Ripley wrote:

> On Thu, 29 Jun 2000, Clive Jenkins wrote:
>
> > I am using R to create colour plots as bitmap files. I have created a
> > palette of 256 colours that I want to use, but the resultant output
> > files contain only 12 colours used in dither patterns. The result is the
> > same whether I use bmp() or png().
>
> What about bitmap()? Have you tried that?
>
> Internally bmp/png/jpeg use take a copy of the screen, so what you get
> depends on your graphics card driver. If you are seeing dithering in the
> PNG file, do you see it on screen? Is your screen set to a truecolour
> mode?
>
> bitmap() works via ghostscript.

I can confirm that none of png, bmp, bitmap dither on my system for this
example.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Mon 17 Jul 2000 - 12:33:25 EST