D.mon color depth

Angus Carr apcarr at FLASH.LakeheadU.CA
Tue Dec 12 07:00:00 EST 1995


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