Flip image

This tool will flip (i.e. reflect) an image either vertically, horizontally, or both.

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.dep"
method = "vertical"
args = [inputFile, outputFile, method]
pluginHost.runPlugin("FlipImage", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.dep"
def outputFile = wd + "output.dep"
def method = "horizontal"
String[] args = [inputFile, outputFile, method]
pluginHost.runPlugin("FlipImage", args, false)

Credits: