gdk_pixbuf_save question

2007-06-01 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a way to add a "creator" tag when saving a jpeg image using
gdk_pixbuf_save.

For example I would like to put the name of my program in the jpeg image
so that I know what created that image. Even setting some if the EXIF
data would be ok. Is there any way to do that?

Thanks,

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org

iD8DBQFGYCjO6w2kMH0L1dERAgrlAJ9wBGYDPaMe8YZAqyTN/O3ElK5L5QCeOBhM
brqp2dvimf7t3dGNeQsS6uc=
=J026
-END PGP SIGNATURE-
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gdk_pixbuf_save question

2007-06-01 Thread Dr. Michael J. Chudobiak
Kevin DeKorte wrote:
> Is there a way to add a "creator" tag when saving a jpeg image using
> gdk_pixbuf_save.
> 
> For example I would like to put the name of my program in the jpeg image
> so that I know what created that image. Even setting some if the EXIF
> data would be ok. Is there any way to do that?

The gdk_pixbuf routines do not support saving exif data.

You would need to save your jpeg file, then use libexif, exiv2, or 
another library to write the exif data to the jpeg (i.e., a second file 
write). gThumb, for example, uses libexif.

- Mike

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