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,
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, setCommandaddProcessListener, 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