[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: xearth 1.0: fatal - unable to allocate enough colors



> > 
> > Does anyone know how many colors I have if the depth is set at 8. Do not
> > say 256 because I am not using that many colors to have 256 colors
> > exhausted.
> 
> 8bpp == 256 color
> 16bpp == 16million
> 32bpp == 32million

I thought colours= 2^bpp so:

4bpp =  16
8bpp =  256
16bpp = 65,536
32bpp = more colours than you could ever need (hence why I use it ;) )

Matthew

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/


Reply to: