[comp.sys.sun] 24 bit per pixel icons

aod@gti.upm.es (Antonio Ortega Diego ) (07/23/90)

We are trying to update an application to run on a Sun-3/80
using a true color 24 bit per pixel graphics card. The application
involved displaying an image, and using it to create the
application window icon. 

That worked fine with the 8 bit per pixel images but we can seem to make
it work for 24 bit per pixel images. Since windows (in the 24 bit
situation) do not inherit their parent's lut we have tried,
unsuccessfully, to write the lut directly to the icon pixrect, using
pr_putlut().

Does anybody know how to do this ?

Thank you in advance,

Antonio Ortega
Grupo de Tratamiento de Imagenes
Universidad Politecnica de Madrid
Spain