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

Re: displaying JPEG




On Tue, 3 Nov 1998, Scott. wrote:

> 
> i've checked the gtkimage.h and looked into the gdk.h, but still just a
> LITTLE confused about how to display a JPG from data i have already in a
> char[]...
> 

Gtk has no such facility. You have these options:

1) Use Imlib. The easiest way to do this is to use Gnome, which will
   have lots of other advantages too. GnomePixmap does what you want.

2) Use an inline xpm instead of a JPEG, convert it with Gimp or something.

3) Write your own JPEG converter, or use the JPEG library directly.

Havoc




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