ErrorConsumerpublic class DisplayCmd extends ImageCommand
BUFFER_SIZE| Constructor | Description |
|---|---|
DisplayCmd() |
Constructor.
|
DisplayCmd(boolean useGM) |
Constructor with option to use GraphicsMagick.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
run(Operation pOperation,
java.lang.Object... images) |
Execute the command (replace given placeholders).
|
static void |
show(java.lang.String pImageName) |
Convinience method to show the image passed as an argument.
|
consumeError, setCommandclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProcessListener, getIInputProvider, getIProcessListener, isAsyncMode, run, setAsyncMode, setErrorConsumer, setInputProvider, setOutputConsumer, startProcess, waitForProcesspublic DisplayCmd()
public DisplayCmd(boolean useGM)
useGM - true if GraphicsMagick usedpublic static void show(java.lang.String pImageName)
throws java.io.IOException,
java.lang.InterruptedException,
IM4JavaException
pImageName - the image Namejava.io.IOException - Wrong locationjava.lang.InterruptedException - interrupted exceptionIM4JavaException - an im4java Exception occuredpublic void run(Operation pOperation, java.lang.Object... images) throws java.io.IOException, java.lang.InterruptedException, IM4JavaException
run in class ImageCommandIM4JavaExceptionjava.io.IOExceptionjava.lang.InterruptedException