Skip to content
Adding in scripts documentation, plus edits to ImageFilteChains script. authored by Kevin Meaney's avatar Kevin Meaney
[Contents](Contents#table-of-contents) | [Introduction](Introduction) | [JSON](JSONandPropertyLists#associative-arrays) | [Creating Objects](CreatingObjects#creating-base-objects) | [Playing with Objects](PlayingWithObjects#playing-with-base-objects) | [Drawing](Drawing#drawing) | [Image Filter Chains](ImageFilterChains#image-filter-chains) | [Image Metadata](ImageMetadata#image-metadata) [Contents](Contents#table-of-contents) | [Introduction](Introduction) | [JSON](JSONandPropertyLists#associative-arrays) | [Creating Objects](CreatingObjects#creating-base-objects) | [Playing with Objects](PlayingWithObjects#playing-with-base-objects) | [Drawing](Drawing#drawing) | [Image Filter Chains](ImageFilterChains#image-filter-chains) | [Image Metadata](ImageMetadata#image-metadata) | [Scripts](Scripts#scripts)
## Image Filter Chains ## Image Filter Chains
...@@ -340,14 +340,14 @@ drawtext_element.stringtext = 'Moving Images' ...@@ -340,14 +340,14 @@ drawtext_element.stringtext = 'Moving Images'
drawtext_element.postscriptfontname = 'Baskerville-Bold' drawtext_element.postscriptfontname = 'Baskerville-Bold'
drawtext_element.point_textdrawnfrom = MIShapes.make_point(0, drawtext_element.point_textdrawnfrom = MIShapes.make_point(0,
window_height - vertical_inset) window_height - vertical_inset)
drawtext_rect = MIShapes.make_rectangle(xloc: horizontal_inset, drawtext_rect = MIShapes.make_rectangle(
xloc: horizontal_inset,
yloc: vertical_inset, yloc: vertical_inset,
width: window_width - 2 * horizontal_inset, width: window_width - 2 * horizontal_inset,
height: window_height - 2 * vertical_inset) height: window_height - 2 * vertical_inset)
drawtext_path = MIPath.new drawtext_path = MIPath.new
drawtext_path.add_rectangle(drawtext_rect) drawtext_path.add_rectangle(drawtext_rect)
drawtext_element.arrayofpathelements = drawtext_path drawtext_element.arrayofpathelements = drawtext_path
drawtext_element
drawtext_command = CommandModule::DrawElementCommand.new( drawtext_command = CommandModule::DrawElementCommand.new(
window_objectid, drawinstructions: drawtext_element) window_objectid, drawinstructions: drawtext_element)
smig_commands.add_command(drawtext_command) smig_commands.add_command(drawtext_command)
...@@ -804,4 +804,4 @@ The minimum value for both "inputDistance" and "inputSlopeWidth" is 0.0 and the ...@@ -804,4 +804,4 @@ The minimum value for both "inputDistance" and "inputSlopeWidth" is 0.0 and the
Like many core image filters, the YVSChromaKeyFilter can be part of a larger filter chain, including a filter chain of multiple YVSChromaKeyFilters. This allows transparency based on multiple chroma key colors to be achieved providing flexibility for creating images with transparency. Like many core image filters, the YVSChromaKeyFilter can be part of a larger filter chain, including a filter chain of multiple YVSChromaKeyFilters. This allows transparency based on multiple chroma key colors to be achieved providing flexibility for creating images with transparency.
[Contents](Contents#table-of-contents) | [Introduction](Introduction) | [JSON](JSONandPropertyLists#associative-arrays) | [Creating Objects](CreatingObjects#creating-base-objects) | [Playing with Objects](PlayingWithObjects#playing-with-base-objects) | [Drawing](Drawing#drawing) | [Image Filter Chains](ImageFilterChains#image-filter-chains) | [Image Metadata](ImageMetadata#image-metadata) [Contents](Contents#table-of-contents) | [Introduction](Introduction) | [JSON](JSONandPropertyLists#associative-arrays) | [Creating Objects](CreatingObjects#creating-base-objects) | [Playing with Objects](PlayingWithObjects#playing-with-base-objects) | [Drawing](Drawing#drawing) | [Image Filter Chains](ImageFilterChains#image-filter-chains) | [Image Metadata](ImageMetadata#image-metadata) | [Scripts](Scripts#scripts)