Re: How to create a thumbnail of a picture?



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





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