public class ImageMagickImpl
extends Object
implements com.liferay.portal.kernel.image.ImageMagick
Constructor and Description |
---|
ImageMagickImpl() |
Modifier and Type | Method and Description |
---|---|
Future<?> |
convert(List<String> arguments) |
void |
destroy() |
String |
getGlobalSearchPath() |
static ImageMagickImpl |
getInstance() |
protected LinkedList<String> |
getResourceLimits() |
Properties |
getResourceLimitsProperties() |
String[] |
identify(List<String> arguments) |
boolean |
isEnabled() |
void |
reset() |
public static ImageMagickImpl getInstance()
public Future<?> convert(List<String> arguments) throws Exception
convert
in interface com.liferay.portal.kernel.image.ImageMagick
Exception
public void destroy()
destroy
in interface com.liferay.portal.kernel.image.ImageMagick
public String getGlobalSearchPath() throws Exception
getGlobalSearchPath
in interface com.liferay.portal.kernel.image.ImageMagick
Exception
public Properties getResourceLimitsProperties() throws Exception
getResourceLimitsProperties
in interface com.liferay.portal.kernel.image.ImageMagick
Exception
public String[] identify(List<String> arguments) throws Exception
identify
in interface com.liferay.portal.kernel.image.ImageMagick
Exception
public boolean isEnabled()
isEnabled
in interface com.liferay.portal.kernel.image.ImageMagick
public void reset()
reset
in interface com.liferay.portal.kernel.image.ImageMagick
protected LinkedList<String> getResourceLimits()