ascp crashes in 8bpp (on Solaris)!!!

Nwanua Elumeze (nwanua@makaha.colorado.edu)
Wed, 23 Sep 1998 18:36:06 -0600 (MDT)




I'm hoping someone has had expereince with visuals and limited colour 
maps; that's why I also posted this here :-)



Hi all,

I am writing an app that involves previews:

unfortunately, any time I try to read a 16bpp image on a Solaris box, 
my app barfs.
It has no problems otherwise.

Is there a way that I can scale back the number of colours in a 
pixmap on the fly _before_ tying to 

gdk_pixmap_create_from_xpm(TOPLEVELWINDOW->window,
  &mask, &style->bg[GTK_STATE_NORMAL], filename);  ?gtk_widget_push_
  
  I've even tried pushing and popping with gtk_widget_push_foo() and
  gtk_widget_pop_foo() but to no avail.
  
  Everthing is alright on say, my Linux box...
  
  Thanks all,
  
Nwanua.

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html