... | ... | @@ -18,11 +18,7 @@ The following shows you how to get the properties about the CIDroste filter as a |
|
|
|
|
|
smig getproperty -type imagefilterchain -property imagefilterattributes -filtername CIDroste -jsonstring
|
|
|
|
|
|
This returns the non human friendly version of the json string. To quickly view the human friendly version, copy the result and paste it into either: [JSONLint](http://jsonlint.com) or [JSON Editor online](http://jsoneditoronline.org).
|
|
|
|
|
|
Alternatively you can save the result to a file as a json object or a plist dictionary. You do this by replacing the "-jsonstring" switch with a "-jsonfile" or "-propertyfile" option on the command line followed by a path to a file.
|
|
|
|
|
|
In the case of the "-jsonfile" option the text saved to the json file will be in a more human readable form than that returned using the "-jsonstring" option.
|
|
|
This returns the compact form of the json string. To quickly view a human friendly version, copy the result and paste it into either: [JSONLint](http://jsonlint.com) or [JSON Editor online](http://jsoneditoronline.org).
|
|
|
|
|
|
### Setting up the properties for a filter
|
|
|
|
... | ... | @@ -218,7 +214,7 @@ The following json object is everything needed to define the filter chain manage |
|
|
|
|
|
The filter graph for the above filter chain looks like:
|
|
|
|
|
|
![Filter Graph](../raw/master/using-movingimages/wiki-images/FilterGraph.jpg "The filter graph for the above json object filter chain representation.")
|
|
|
![Filter Graph](../raw/master/wiki-images/FilterGraph.jpg "The filter graph for the above json object filter chain representation.")
|
|
|
|
|
|
I'm going to show what the output looks like at each of the stages of the above filter chain so you can see how the final result is built up from the intermediate steps. The radial gradient filter generates an image that has infinite extent. To produce a usable image it is followed by the crop filter. The result of the two filters is:
|
|
|
|
... | ... | |