[241] in The GTK GIMP ToolKit mailing list archive
[gtk-list] How to create bitmap GdkImages?
daemon@ATHENA.MIT.EDU (Marc van Kempen)
Fri May 23 05:15:00 1997
To: gtk-list@redhat.com
Date: Fri, 23 May 1997 11:11:59 +0200
From: Marc van Kempen <marc@bowtie.nl>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Hi,
I'm still wrestling with my fax application, and now I want
to display the bitmaps. However I'd like to do this as
efficiently (memory usage wise) as possible, which means
I'd like to create an XImage of the type XYBitmap. (At least
I think this will be the most efficient solution)
I studied the gdk code, but this does not seem possible at
the moment. All images are created with a depth corresponding
to the available visuals.
I could write a new routine to create GdkImages of the
type XYBitmap and depth 1, it seems to be no more than
just writing this one call, which is very much the same
as gdk_image_new, but perhaps this can be solved differently?
Any thoughts?
Regards,
Marc.
----------------------------------------------------
Marc van Kempen BowTie Technology
Email: marc@bowtie.nl WWW & Databases
tel. +31 40 2 43 20 65
fax. +31 40 2 44 21 86 http://www.bowtie.nl
----------------------------------------------------
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null