Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-27 Thread Kevin Cozens
Raphaël Quinet wrote: /* decode the given XMP packet (read from a file) and merge it into the metadata parasite. */ gboolean gimp_metadata_decode_xmp (gint32image_ID, const gchar *xmp_packet); /* generate an XMP packet from the metadata parasite */ const

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-22 Thread Sven Neumann
Hi, On Thu, 2006-06-22 at 00:35 +0200, Raphaël Quinet wrote: The file plug-ins could as well use the functions via the PDB then. What's the benefit of linking to them? Cleaner code (core/GUI separation, maintainable by different people), lower overhead (especially when changing many

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-22 Thread Raphaël Quinet
On Thu, 22 Jun 2006 08:10:19 +0200, Sven Neumann [EMAIL PROTECTED] wrote: On Thu, 2006-06-22 at 00:35 +0200, Raphaël Quinet wrote: Cleaner code (core/GUI separation, maintainable by different people), lower overhead (especially when changing many properties) and more importantly providing

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-22 Thread Sven Neumann
Hi, On Thu, 2006-06-22 at 13:33 +0200, Raphaël Quinet wrote: Well, let's say that it makes it a bit easier if the code is at least split in separate directories (even if a library is not required for that). As for the lower overhead, it does make a difference if the file plug-ins can link

[Gimp-developer] proposal for libgimpmetadata API

2006-06-21 Thread Raphaël Quinet
In order to improve the support for metadata (XMP and EXIF), I would like to move some of the code that is currently located in the plug-ins/metadata directory into a new library, libgimpmetadata. This library would be linked with all file plug-ins that support metadata. This includes JPEG, PNG,

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-21 Thread Sven Neumann
Hi, On Wed, 2006-06-21 at 21:15 +0200, Raphaël Quinet wrote: Most of the functions listed above are currently implemented in the metadata plug-in and exported in the PDB. So you can find a slightly longer description of these functions by looking in the Procedure Browser and searching for

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-21 Thread Raphaël Quinet
On Wed, 21 Jun 2006 22:54:32 +0200, Sven Neumann [EMAIL PROTECTED] wrote: On Wed, 2006-06-21 at 21:15 +0200, Raphaël Quinet wrote: [...] After moving these functions in the new libgimpmetadata library, they would still be exported to the PDB but probably renamed gimp-metadata-* instead of

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-21 Thread Sven Neumann
Hi, On Wed, 2006-06-21 at 23:53 +0200, Raphaël Quinet wrote: The file plug-ins would not use these functions via the PDB because they could use the library directly. The file plug-ins could as well use the functions via the PDB then. What's the benefit of linking to them? That covers the

Re: [Gimp-developer] proposal for libgimpmetadata API

2006-06-21 Thread Raphaël Quinet
On Thu, 22 Jun 2006 00:13:13 +0200, Sven Neumann [EMAIL PROTECTED] wrote: On Wed, 2006-06-21 at 23:53 +0200, Raphaël Quinet wrote: The file plug-ins would not use these functions via the PDB because they could use the library directly. The file plug-ins could as well use the functions via