Class ImageMagick
- java.lang.Object
-
- com.levigo.jadice.server.imagemagick.ImageMagick
-
public class ImageMagick extends Object
Bridging object between jadice server and the command line api of ImageMagick.
-
-
Constructor Summary
Constructors Constructor Description ImageMagick()
ImageMagick(String imFormatIn, String imFormatOut)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArrayOutputStream
convert(InputStream in)
void
convert(InputStream in, OutputStream out)
void
setFormat(String imFormatIn, String imFormatOut)
void
setImageMagickSearchPath(String imageMagickSearchPath)
void
setImagesize(Integer width, Integer height)
-
-
-
Method Detail
-
convert
public ByteArrayOutputStream convert(InputStream in) throws InterruptedException, IOException, com.github.geko444.im4java.core.IM4JavaException
- Throws:
InterruptedException
IOException
com.github.geko444.im4java.core.IM4JavaException
-
convert
public void convert(InputStream in, OutputStream out) throws InterruptedException, IOException, com.github.geko444.im4java.core.IM4JavaException
- Throws:
InterruptedException
IOException
com.github.geko444.im4java.core.IM4JavaException
-
setImageMagickSearchPath
public void setImageMagickSearchPath(String imageMagickSearchPath)
-
-