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

Re: JPEG (solved)



On Wed, 4 Nov 1998, Havoc Pennington wrote:

> you), but failing that GtkPixmap or GtkDrawingArea. Imlib has functions to
> give you a GdkPixmap, which you can stuff into a GtkPixmap (documented in

thanx to everyone who helped... i found a solution:

1)	used the gdk_imlib_create_image_from_data() function to get the
	memory resident jpg data to GdkImlibImage

2)	used gdk_imlib_render to render the pic

3)	gdk_imlib_move_image to convert to a GdkPixmap

4)	gtk_pixmap_new to get a GtkWidget...

again, thanx for the help everyone ... :)

(there were lots of suggestions to use gnome, but since imlib had the
capability, i decided just to go with that..)

btw, i'm writing a digital camera app that will store/retrieve images from
a Fujitsu-based Digital camera (including most Olympus models, Epson
photopc models, Agfa, and several others... so, if anyone has a digicam
that wants to try this out, just drop me some mail... 

-=Scott



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