Colormap?
- From: shigang <shigang chpc ict ac cn>
- To: gtk-list <gtk-list redhat com>
- Subject: Colormap?
- Date: Mon, 16 Aug 1999 21:39:30 +0800
Hi every:
I would like to change the colormap of a canvas in order to show my image file.
This image file is consisted of byte datatype with one byte per pix.
The value of byte stands for the thick of color,for example:
0: RGB(0,0,0)
1: RGB(1,1,1)
...
255:RGB(255,255,255)
I use gdk_colormap_alloc_colors(), but can not alloc needed colors.
And use gdk_colors_store() also cause core error.
thanks.
shigang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]