public class IMImageUtils extends Object implements ImageUtils
Modifier and Type | Class and Description |
---|---|
static class |
IMImageUtils.ImageMagickCaller |
Constructor and Description |
---|
IMImageUtils() |
Modifier and Type | Method and Description |
---|---|
Blob |
convertToPDF(Blob blob) |
Blob |
crop(Blob blob,
int x,
int y,
int width,
int height) |
boolean |
isAvailable()
Returns
true if this ImageUtils can be used, false otherwise |
Blob |
resize(Blob blob,
String finalFormat,
int width,
int height,
int depth) |
Blob |
rotate(Blob blob,
int angle) |
public IMImageUtils()
public Blob crop(Blob blob, int x, int y, int width, int height)
crop
in interface ImageUtils
public Blob resize(Blob blob, String finalFormat, int width, int height, int depth)
resize
in interface ImageUtils
public Blob rotate(Blob blob, int angle)
rotate
in interface ImageUtils
public Blob convertToPDF(Blob blob)
convertToPDF
in interface ImageUtils
public boolean isAvailable()
ImageUtils
true
if this ImageUtils can be used, false
otherwiseisAvailable
in interface ImageUtils
Copyright © 2016 Nuxeo SA. All rights reserved.