Re: Reading jpg data

2008-06-16 Thread jcupitt
Hi,

2008/6/16 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>I need to read a jpg image out of a buffer, not a file; the
> caveman way to do this could be: write buffer to file, then use
> gdk_pixbuf_new_from_file. Is there a more elegant way to do this? I

You make an image and use gdkpixbufloader to write data to it

  http://library.gnome.org/devel/gdk-pixbuf/stable/GdkPixbufLoader.html

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Reading jpg data

2008-06-16 Thread [EMAIL PROTECTED]
Hi everybody,
I need to read a jpg image out of a buffer, not a file; the 
caveman way to do this could be: write buffer to file, then use 
gdk_pixbuf_new_from_file. Is there a more elegant way to do this? I 
tried with pixbuf_loaders (with no success), but before spending 
further effort I'd like to have some hints from the list. BTW I'm 
developing on win32.
Thansk, cheers

Federico






___
Tiscali.Fax: ricevi gratis sulla tua email e invii 
a 12 cent per pagina senza scatto alla risposta
http://vas.tiscali.it/fax//

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