public class DisplayCmd extends ImageCommand
BUFFER_SIZE| Constructor and Description |
|---|
DisplayCmd()
Constructor.
|
DisplayCmd(boolean useGM)
Constructor with option to use GraphicsMagick.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(Operation pOperation,
Object... images)
Execute the command (replace given placeholders).
|
static void |
show(String pImageName)
Convinience method to show the image passed as an argument.
|
consumeError, createScript, createScript, createScript, finished, getCommand, getErrorText, getProcessTask, setCommand, setDefaultScriptGenerator, setScriptGeneratoraddProcessEventListener, addProcessListener, finished, getGlobalSearchPath, getPID, getProcessTask, getSearchPath, isAsyncMode, removeProcessEventListener, run, searchForCmd, setAsyncMode, setErrorConsumer, setGlobalSearchPath, setInputProvider, setOutputConsumer, setPID, setPIDCounter, setSearchPathpublic DisplayCmd()
public DisplayCmd(boolean useGM)
public static void show(String pImageName) throws IOException, InterruptedException, IM4JavaException
public void run(Operation pOperation, Object... images) throws IOException, InterruptedException, IM4JavaException
run in class ImageCommandpOperation - The Operation to executeimages - Zero or more images (replace placeholders in pOperation)IOExceptionInterruptedExceptionIM4JavaExceptionCopyright © 2019. All rights reserved.