@@ -128,6 +128,14 @@ The image importer base object is used to import image files and is a source for
Objects with the object type "imageimporter", "imageexporter", and "bitmapcontext" are fairly simple to create only requiring a few options. The "imagefilterchain" object though is more complex to create as it needs all the necessary information for creating the CoreImage filter chain that the "imagefilterchain" object manages.
### JSON objects and plist Dictionaries
Moving Images uses two different formats to represent the information needed for the drawing commands, for creating the image filter chain object, and for describing values that change each time a filter chain is rendered. The way Moving Images information is structured within a JSON object and a plist dictionary is exactly the same, but the terminology used to describe JSON objects and plist dictionaries is different. When reading the documentation for Moving Images it is sensible to keep this in mind.
A JSON object is equivalent to a plist dictionary. A member or key/value pair of a dictionary is the same as a member or property of a JSON object. The JSON equivalent of the key part of a dictionary key/value pair is keyword. Keys/keywords can only be strings, whereas their values can be text, a number, a bool value, a dictionary/JSON object, or an array.
A JSON array is equivalent to a plist array and in both cases you refer to elements of the array as items or elements.
### The "-drawelement" "doaction"
The draw element do action is a smig subcommand that has it's own vocabulary which is quite extensive, describing what to draw, how to draw and where to draw.