Tim Corio wrote:
I am saving a jpeg image from a GdkPixbuf using:
gdk_pixbuf_save (pxb, inFile, $gerror, "quality", "100", NULL);

Can I specify a resolution?

I've tried the parameter names "dpi", "resolution", and "Resolution",
but GDK dumps the warning: "(imagemask:21053): GdkPixbuf-WARNING **:
Unrecognized parameter (Resolution) passed to JPEG saver."

Is there a way to set the resolution on a saved image?

There are several libraries that will let you write exif tags to a jpeg file. exiv2 is the best (flexible and well-maintained).

- Mike

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

Reply via email to