Re: Need Help !



On Mon, 20 Aug 2001 23:49:55 -0700 (PDT), GOBINDA GHOSH said:

  How to display indexed color image ( like 8 bit BMP
 24 bit BMP ) by GDK ?
   Please Tell me the necessary API's
 
  Thanks,
  Gobinda Ghosh

Have you looked into Imlib yet?

It should handle the loading of a BMP format into RGB format
in which case you can then use the GDK RGB buffers to render
them to a GDK drawable.

Or if your ONLY wanting to load a BMP format and no other formats
you can deciper the BMP format and load it yourself into RGB
(3 byte) memory and then pass it to GDK RGB buffers system for
drawing to a GDK drawable.

-- 
--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
.__                          ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]