Re: How to create a thumbnail of a picture?



Thanks Lars.

On Fri, Dec 11, 2009 at 6:10 PM, Lars Wirzenius <liw liw fi> wrote:

On Fri, 2009-12-11 at 17:50 +0800, Jianchun Zhou wrote:
Hi, All:

Any body knows how to create a thumbnail of a picture in GTK+?

I want to load an image, then output a file which is the resized image.

The GdkPixbuf object is probably what you want. See


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

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


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




-- 
Best Regards



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