mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
libgimp: new gimp_image_metadata_save_filter API
This new function is an alternative to existing gimp_image_metadata_save_finish, when you want to save metadata yourself and you need only filtering processing. It returns filtered metadata allowing the caller to save the finalized metadata via other means (via native format’s library for example) This API can be used to support metadata saving of image formats not directly supported by gexiv2/exiv2.
This commit is contained in:
parent
55f4177815
commit
ff87bc8d4d
3 changed files with 97 additions and 26 deletions
|
@ -43,6 +43,12 @@ void gimp_image_metadata_load_finish (GimpImage *image,
|
|||
GimpMetadata * gimp_image_metadata_save_prepare (GimpImage *image,
|
||||
const gchar *mime_type,
|
||||
GimpMetadataSaveFlags *suggested_flags);
|
||||
GimpMetadata * gimp_image_metadata_save_filter (GimpImage *image,
|
||||
const gchar *mime_type,
|
||||
GimpMetadata *metadata,
|
||||
GimpMetadataSaveFlags flags,
|
||||
GFile *file,
|
||||
GError **error);
|
||||
gboolean gimp_image_metadata_save_finish (GimpImage *image,
|
||||
const gchar *mime_type,
|
||||
GimpMetadata *metadata,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue