metadata

Write metadata into image file.

parameters

Parameters are names of metadata properties:

  • artist:

  • comment:

  • copyright:

  • DocumentName:

  • ImageDescription:

  • Make:

  • Software:

Parameters values are :

  • (string) patchable string with values from contextual object

    variable is a character sequence starting with ${ and finishing with }. Between these caracters, put tha path of the field, as a dot separated list of field names. Text outside these sequences remains unchanged.

    the contextual object is the one to which the image is attached, if any

    By examples:

    • ${status.name}

    • Author is ${photograph.name}

    • static text

  • (string) string starting with prop:

    the name of a property of contextual object

    By example: prop:description

  • (string) string starting with eval:

    A JavaScript expression with these variables:

    • currentobject: (JavaScriptObjectBean) contextual object

    • currentpath: (String) contextual file path

    • locale: (Locale) contextual locale

Simplified syntax

  • prefix mv: couple name=value. This property can be multivalued.

  • prefix vs: valueset, as a JSon object

Example

{ "metatadata": { "artist":"John Smith", "manufacturer":"Leikon" } }

Simplified syntax (using couple name=value) : mv_artist="John Smith",mv_manufacturer="Leikon",c_metadata

Simplified syntax (using value set): vs_{artist:'John Smith',manufacturer:"Leikon"},c_metadata

Â