nanogui: Inline XPMs?


Previous by date: 3 Jul 2001 14:07:11 -0000 Inline XPMs?, Julian Smart
Next by date: 3 Jul 2001 14:07:11 -0000 Re: Inline XPMs?, Jordan Crouse
Previous in thread: 3 Jul 2001 14:07:11 -0000 Inline XPMs?, Julian Smart
Next in thread: 3 Jul 2001 14:07:11 -0000 Re: Inline XPMs?, Jordan Crouse

Subject: Re: [nanogui] Inline XPMs?
From: "Greg Haerr" ####@####.####
Date: 3 Jul 2001 14:07:11 -0000
Message-Id: <039401c103c9$0c90a380$3aba46a6@xmission.com>

: I'd like to convert inline-XPMs into HBITMAPs, presumably via a DrawDIB 
: call on a memory DC.
: 
: I see from the archive that inline (#included) XPMs weren't supported as of 
: Jan. this year -- but maybe someone has written code to do this since?

The CVS version of Microwindows has a new function, GrNewBitmapFromData,
which will decode inline bitmap data.  This might be combined with the
devimage.c code that decodes XPMs, and you should have what you
need.  GrNewBitmapFromData is in nanox/nxutil.c.

Regards,

Greg


Previous by date: 3 Jul 2001 14:07:11 -0000 Inline XPMs?, Julian Smart
Next by date: 3 Jul 2001 14:07:11 -0000 Re: Inline XPMs?, Jordan Crouse
Previous in thread: 3 Jul 2001 14:07:11 -0000 Inline XPMs?, Julian Smart
Next in thread: 3 Jul 2001 14:07:11 -0000 Re: Inline XPMs?, Jordan Crouse


Powered by ezmlm-browse 0.20.