Re: [gtk-list] Re: colordepth of pixmaps
- From: P Jean dit Bailleul <jdb abacom com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: colordepth of pixmaps
- Date: Fri, 13 Aug 1999 20:06:28 -0400
At 18:58 13/08/99 -0400, you wrote:
>
>On Fri, 13 Aug 1999, P Jean dit Bailleul wrote:
>>
>> When i want to create pixmaps (GDK_Pixmap_New(nil, FWidth, FHeight, 24);)
>> with a color depth of 24 bits while my screen use only 16 bits i get an
>> error stating that i can't use a higher depth than the screen one. Is it a
>> limitation of the GDK or is it due to the way i'm creating the pixmap?
>
>You can only create pixmaps that your X display supports, so a 16-bit
>display won't support 24-bit pixmaps.
>
>Perhaps you are trying to use pixmaps as a client-side data structure
>instead of as a way to display your image data; you might consider using
>GdkRGB (gdk/gdkrgb.h) to store your 24-bit data and use GdkPixmap only to
>render the data on the screen.
Can you tell me more about the pixmap stuff there is no explaination at all
on the web site (in the GTK reference guide)
P Jean dit Bailleul (jdb@abacom.com)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]