Re: Need Help !



Either use the Gnome libraries that extend GTK and GDK, or
use the source from libjpeg  www.ijg.org  to read jpeg, bmp,
gif, etc.

-Brad


GOBINDA GHOSH wrote:

  Hi ,

  Thanks for your help. Your mail inspire me to write
in details. I am working in an imaging company , have
imaging software on windows. Now my company likes to
make product for linux user. So in windows we have our
routine for gif , jpg , bmp etc , but as we didnot
find enough documentation of GDK we cant even display
a index image ( of greater than 1 bit ). Can u tell me
should i convert all indexed colour image to RGB or is
there any API ( like StretchDIBlt in windows ) to
display indexed image directly ?

  Once again thanks for your co-operation, looking for
your mail once again.

 Gobinda



--- Brad House <brad mainstreetsoftworks com> wrote:
As far as I know, GDK only supports XPM's

so use gimp, and convert your BMP's to XPMS...
otherwise I don't know what to tell you.

BMP uses simple RLE encoding...write your own
routine to handle reading BMP into a raw bitmap.
or get libjpeg from www.ijg.org, it's got a bmp
reading/writing routine in there you can use....
not much else I can tell ya.

-Brad

GOBINDA GHOSH wrote:

 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

 Senior Project Engineer
 STEX Technologies Private Limited
 Bangalore , India

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute
with Yahoo! Messenger
http://phonecard.yahoo.com/

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org


http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

--
-----------------------------
Brad House
Sr. Developer
Main Street Softworks, Inc.

brad mainstreetsoftworks com
(352) 378-8228
-----------------------------

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
-----------------------------
Brad House
Sr. Developer
Main Street Softworks, Inc.

brad mainstreetsoftworks com
(352) 378-8228
-----------------------------




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