D.mon color depth

Malcolm Williamson malcolm at cast.uark.edu
Tue Dec 12 07:00:00 EST 1995


Hi, Angus
You'll have to post us when you finish your hacking! ;^) XDRIVER is truly 
an 8-bit color driver. The only hack I know of is one that permits it to 
run on a 24-bit display, but still only displaying 8-bit color (sorry, I 
can't remember the author's name right off the top of my head :( ). This 
works nicely, but doesn't do what you, and many others, would like. So, 
have at it! (Or buy an SGI!)
        -Malcolm
--
Malcolm D. Williamson - GIS Specialist           E-mail: malcolm at cast.uark.edu
Center for Advanced Spatial Technologies      Telephone: (501) 575-6159
Ozark Rm. 12                                        Fax: (501) 575-5218 
University of Arkansas              
Fayetteville, AR 72701

On Tue, 12 Dec 1995, Angus Carr wrote:

> I have GRASS running wonderfully on Linux, which I recently upgraded to 
> the kernel 1.2.13, running X11R6, all from the October distribution of 
> Slackware. I upgraded to use more than 8-bit pseudo-color under GRASS for 
> photorectification.
> 
> As long as I run 8-bit colour, I can get good 8-bit grayscale quite 
> happily for my photos. Unfortunately I have to use d.colormode float, 
> which gets irritating remarkably rapidly.
> 
> When I run X in 16-bit (non-pallette) colour, it comes back with the 
> rather unremarkable error about being unable to allocate a colour pallette.
> I am unable to recall the exact wording, but it suggests to me that I 
> need to re-compile d.mon or XDRIVER to accept direct-addressing colour.
> 
> Any disagreement?
> Please tell me you've already solved this one and I just need to follow 
> steps 1 to 18 to solve it myself. I'm not a good programmer and want to 
> avoid hacking XDRIVER (quite reasonably, I think).
> 
> Thanks,
> Angus Carr
> 
> 





More information about the grass-user mailing list