help needed for create pixmap with 8 bit depth
- From: Kalvin <kalvin binary com hk>
- To: gtk-app-devel-list gnome org
- Subject: help needed for create pixmap with 8 bit depth
- Date: Mon, 15 Oct 2001 15:12:31 +0800
To whom it may concern,
Currently I am trying to create a pixmap with 8 bit color depth as
following:
result_pixmap = gdk_pixmap_new(widget->window, WIDTH, HEIGHT, 8) but
when I compile it, an error msg follow up "integer out of range". And I
also wish to output the result as pixbuf. is it possible for me to use
the function gdk_pixbuf_get_from_drawable to commit this task??
Many thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]