gimp/plug-ins/metadata
Sven Neumann d055b8f77a plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/metadata/interface.c
	* plug-ins/script-fu/script-fu-console.c: set
	do-overwrite-confirmation on file save dialogs and removed custom
	confirmation dialogs where present.


svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +00:00
..
Makefile.am plug-ins/common/mkgen.pl plug-ins/faxg3/Makefile.am 2005-12-05 11:54:02 +00:00
README Added placeholder for file properties. 2005-03-04 23:01:48 +00:00
base64.c Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore). 2005-04-23 10:01:24 +00:00
base64.h Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore). 2005-04-23 10:01:24 +00:00
interface.c plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c 2007-02-02 08:57:15 +00:00
interface.h Added placeholder for file properties. 2005-03-04 23:01:48 +00:00
metadata.c plug-ins/common/animationplay.c plug-ins/common/colormap-remap.c 2006-06-17 12:21:47 +00:00
metadata.h fixed typo spotted by John Marshall (bug #377811). Thanks for spotting 2006-11-21 16:49:48 +00:00
testbase64.c Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore). 2005-04-23 10:01:24 +00:00
xmp-encode.c Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore). 2005-04-23 10:02:51 +00:00
xmp-encode.h Fixed crash occuring after a double free of some structured XMP 2005-04-22 15:04:29 +00:00
xmp-model.c fixed a typo: s/occured/occurred/g 2005-08-21 20:28:05 +00:00
xmp-model.h Fixed crash occuring after a double free of some structured XMP 2005-04-22 15:04:29 +00:00
xmp-parse.c protect against broken XMP blocks using rdf:Alt instead of rdf:Seq. Fixes 2006-05-30 22:20:53 +00:00
xmp-parse.h Register plug_in_metadata_import and plug_in_metadata_export in the PDB. 2005-04-11 16:53:17 +00:00
xmp-schemas.c Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore). 2005-04-23 10:01:24 +00:00
xmp-schemas.h app/errors.c app/main.c app/file/gimprecentlist.c libgimp/gimp.c 2006-05-30 01:55:42 +00:00
xmpdump.c protect against broken XMP blocks using rdf:Alt instead of rdf:Seq. Fixes 2006-05-30 22:20:53 +00:00

README

What is this?
-------------

This is the beginning of an editor for metadata.  It is far from
complete yet.

Current status
--------------
- It does not read metadata, except if there is an XMP block in the
  image file.
- It does not write metadata, it can only export XMP into a separate
  file.
- It does not edit metadata, except for some very limited editing of
  basic scalar types (strings, integers, ...).  It is currently not
  possible to add new properties using the editor (but this can be
  done via the PDB call plug_in_metadata_set_simple()).
- Basically, the current code is only useful for viewing some XMP
  metadata if the image file contains an XMP block.  The import/export
  functions are also supposed to work.  Import merges, so it is
  possible for example to import a license file such as the XMP files
  from Creative Commons in order to apply a license to an image.
- The metadata is saved in a persistent parasite that is overwritten
  after each call.  Caution: the editor should not be open while you
  are trying to test some of the PDB calls, otherwise you would
  discard all changes as soon as you press OK.  This is a problem that
  cannot be solved easily as long as the metadata editor is a plug-in.

How to find test images?
------------------------

The easiest way is to try a Google search for "<?xpacket".  This is
the marker that is used at the beginning of XMP packets.  Many images
or PDF files are incorrectly served as text/plain and therefore
indexed by Google as text files.  By looking for XMP tags such as
"<?xpacket", it is possible to find a large number of files containing
XMP metadata.

Work in progress:
-----------------
- improve XMP code generation (xmp-gen.c) - currently, some structured
  property types are not written back to the buffer, so the round-trip
  decode/encode can silently discard some properties
- add tabs for easy editing of metadata, connect them to the tree
- fix the conversion to/from EXIF (exif-parse.c, exif-gen.c)
- register PDB functions correctly (for setting/getting metadata)
- update the JPEG plug-in

Near future:
- add custom callbacks for editing in the tree, validate entries, ...
- smarter display of rational values, closed sets, ...
- improve the layout of the various tabs

Not-so-near future:
- move some of this stuff into the core

-------------------------------------------------------------------------------
Files modified (2004-08-24):
  configure.in                    (added /plug-ins/metadata/Makefile)
  menus/image-menu.xml.in         (added placeholder "<Image>/File/Info")
  plug-ins/Makefile.am            (added "metadata" in SUBDIRS)
  plug-ins/common/jpeg.c          (changed to get/set metadata through PDB)
New files:
  plug-ins/metadata/Makefile.am   (generates Makefile.in to get a Makefile)
  plug-ins/metadata/metadata.c    (main part: registers the plug-in, etc.)
  plug-ins/metadata/interface.h
  plug-ins/metadata/interface.c   (user interface: widgets and callbacks)
  plug-ins/metadata/xmp-model.h
  plug-ins/metadata/xmp-model.c   (model for the treeview, list of XMP schemas)
  plug-ins/metadata/xmp-parse.h
  plug-ins/metadata/xmp-parse.c   (simple parser for XMP metadata)
  plug-ins/metadata/xmp-gen.h
  plug-ins/metadata/xmp-gen.c     (generates XMP metadata from the tree model)
  plug-ins/metadata/exif-parse.h
  plug-ins/metadata/exif-parse.c  (converts EXIF into the XMP tree model)
  plug-ins/metadata/exif-gen.h
  plug-ins/metadata/exif-gen.c    (generates EXIF metadata from the tree model)