public abstract static class IMImageUtils.ImageMagickCaller extends Object
| Modifier and Type | Field and Description |
|---|---|
protected File |
sourceFile |
protected File |
targetFile |
protected File |
tmpFile |
| Constructor and Description |
|---|
ImageMagickCaller() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
call(Blob blob,
String targetExt,
String commandName) |
abstract void |
callImageMagick() |
protected File |
createTempSource(Blob blob,
String ext) |
protected void |
makeFiles(Blob blob,
String targetExt) |
protected File sourceFile
protected File targetFile
public ImageMagickCaller()
protected void makeFiles(Blob blob, String targetExt) throws CommandNotAvailable, CommandException, IOException
protected File createTempSource(Blob blob, String ext) throws IOException
IOExceptionpublic abstract void callImageMagick() throws CommandNotAvailable, CommandException
CommandNotAvailableCommandExceptionCopyright © 2018 Nuxeo. All rights reserved.