Olivier Couet wrote:
> Hi,
>
> Can you provide a little example showing what you mean ?
>
> O.Couet
The attached picture has been created in the following way:
... <code to pickup histo from file>
gStyle->SetFillColor(0)
gStyle->SetHistFillColor(0)
his->Draw()
c1->GetFillColor() (returned 19) so..
c1->SetFillColor(0)
It has to be said that the Canvas color didn't matter but anyway I
manually changed
all the fill color values to FFFFFF to be sure.
I send only the png file for a matter of size but the same problem
exists for its gif version.
There is also the output of
identify -verbose
from ImageMagick package.
In the color histogram you can see that a few colors and the biggest
value (that should be white)
is #F8FCF8.
I discovered this problem when I tried to set white has transparent
color.
Root version is 4-04-02f
Regards, Germano
Image: c1.png
Format: PNG (Portable Network Graphics)
Geometry: 696x472
Class: DirectClass
Colorspace: RGB
Type: Palette
Depth: 8 bits
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits
Channel statistics:
Red:
Min: 0 Max: 248 Mean: 238.788 Standard deviation: 48.1854 Green: Min: 0 Max: 252 Mean: 242.657 Standard deviation: 48.9153 Blue: Min: 0 Max: 248 Mean: 238.788 Standard deviation: 48.1854
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET