... | ... | @@ -51,7 +51,7 @@ Each filter in a filter chain, is described by the filter name, a name identifie |
|
|
|
|
|
{
|
|
|
"cifiltername": "CIUnsharpMask",
|
|
|
"mifiltername" : "com.yvs.documentation.renderingfilterchain.unsharpmask"
|
|
|
"mifiltername" : "com.yvs.documentation.renderingfilterchain.unsharpmask",
|
|
|
"cifilterproperties": [
|
|
|
{
|
|
|
"cifilterkey": "inputRadius",
|
... | ... | @@ -406,8 +406,27 @@ If the destination rectangle is not specified, then the rectangle drawn to is th |
|
|
}
|
|
|
}
|
|
|
|
|
|
### Creating the image filter chain object
|
|
|
|
|
|
There is an example of creating the image filter chain object and rendering in the [Image Filter Chain object section of the Playing with objects documentation page](PlayingWithObjects#the-image-filter-chain-object) which shows all the steps for not just creating and rendering the image filter chain object but the creation and actions related to other necessary objects.
|
|
|
|
|
|
Creating an image filter chain object with the json object defined on the command line:
|
|
|
|
|
|
smig create -type "imagefilterchain" -name "com.yvs.documentation.unsharpmaskfilterchain" -jsonstring '{"cifiltername":"CIUnsharpMask","mifiltername":"com.yvs.documentation.renderingfilterchain.unsharpmask","cifilterproperties":[{"cifilterkey":"inputRadius","cifiltervalue":2.5},{"cifilterkey":"inputIntensity","cifiltervalue":1},{"cifilterkey":"inputImage","cifiltervalueclass":"CIImage","cifiltervalue":{"objectreference":0}}]}'
|
|
|
|
|
|
Creating an image filter chain object with the json object defined in a json file:
|
|
|
|
|
|
smig create -type "imagefilterchain" -name "com.yvs.documentation.unsharpmaskfilterchain" -jsonfile "~/JSONFilterFiles/unsharpmask.json"
|
|
|
|
|
|
Creating an image filter chain object with the property list dictionary defined in a property list file:
|
|
|
|
|
|
smig create -type "imagefilterchain" -name "com.yvs.documentation.unsharpmaskfilterchain" -propertyfile "~/PLISTFilterFiles/unsharpmask.plist"
|
|
|
|
|
|
|
|
|
### The Image Filter Chain ruby processing scripts
|
|
|
|
|
|
There are three main scripts that come with Moving Images for processing images. The simplesinglecifilter script
|
|
|
|
|
|
### The YVSChromaKey filter
|
|
|
|
|
|
[Home](Home) | [Contents](Contents) | [Previous - Drawing in a Bitmap Context](DrawingInABitmapContext) | [Next - Image Metadata](ImageMetadata) |