public class ImageMagickUtil
extends java.lang.Object
| Constructor and Description |
|---|
ImageMagickUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.Future<?> |
convert(java.util.List<java.lang.String> arguments)
Executes the
convert command in ImageMagick. |
static void |
destroy() |
static java.lang.String |
getGlobalSearchPath()
Returns the global search path configured for ImageMagick.
|
static ImageMagick |
getImageMagick() |
static java.util.Properties |
getResourceLimitsProperties()
Returns the cache and resource usage limits configured for ImageMagick.
|
static java.lang.String[] |
identify(java.util.List<java.lang.String> arguments)
Executes the
identify command in ImageMagick. |
static boolean |
isEnabled()
Returns
true if ImageMagick is enabled. |
static void |
reset()
Resets the global search path and resource limits for ImageMagick.
|
void |
setImageMagick(ImageMagick imageMagick) |
public static java.util.concurrent.Future<?> convert(java.util.List<java.lang.String> arguments)
throws java.lang.Exception
convert command in ImageMagick.arguments - the command arguments being passed to convert
java.lang.Exception - if an unexpected error occurred while executing commandpublic static void destroy()
public static java.lang.String getGlobalSearchPath()
throws java.lang.Exception
java.lang.Exception - if an unexpected error occurredpublic static ImageMagick getImageMagick()
public static java.util.Properties getResourceLimitsProperties()
throws java.lang.Exception
java.lang.Exception - if an unexpected error occurredpublic static java.lang.String[] identify(java.util.List<java.lang.String> arguments)
throws java.lang.Exception
identify command in ImageMagick.arguments - the command arguments being passed to identify
identify calljava.lang.Exception - if an unexpected error occurred while executing commandpublic static boolean isEnabled()
true if ImageMagick is enabled.true if ImageMagick is enabled; false
otherwisepublic static void reset()
public void setImageMagick(ImageMagick imageMagick)