Re: [gtk-list] Re: Image Libraries
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Image Libraries
- Date: 01 Feb 2000 23:54:42 -0500
Juerg Tschirren <jtschirr@engineering.uiowa.edu> writes:
> A simple question to this topic. If I have a C-array containing a
> gray-level image (one byte per pixel, representing 256 gray shades),
> what's the best way to bring this images into a GdkPixmap (or some other
> GDK/GTK data structure so I can bring it somehow to the screen of a GTK
> application)?
gdk_rgb_draw_gray_image() should do this, or something close enough.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]