@ProviderType
public interface ImageTool
| Modifier and Type | Field and Description |
|---|---|
static String |
ORIENTATION_VALUE_HORIZONTAL_NORMAL |
static String |
ORIENTATION_VALUE_MIRROR_HORIZONTAL |
static String |
ORIENTATION_VALUE_MIRROR_HORIZONTAL_ROTATE_270_CW |
static String |
ORIENTATION_VALUE_MIRROR_HORIZONTAL_ROTATE_90_CW |
static String |
ORIENTATION_VALUE_MIRROR_VERTICAL |
static String |
ORIENTATION_VALUE_ROTATE_180 |
static String |
ORIENTATION_VALUE_ROTATE_270_CW |
static String |
ORIENTATION_VALUE_ROTATE_90_CW |
static String |
TYPE_BMP |
static String |
TYPE_GIF |
static String |
TYPE_JPEG |
static String |
TYPE_NOT_AVAILABLE |
static String |
TYPE_PNG |
static String |
TYPE_TIFF |
| Modifier and Type | Method and Description |
|---|---|
Future<RenderedImage> |
convertCMYKtoRGB(byte[] bytes,
String type) |
BufferedImage |
convertImageType(BufferedImage sourceImage,
int type) |
RenderedImage |
crop(RenderedImage renderedImage,
int height,
int width,
int x,
int y) |
void |
encodeGIF(RenderedImage renderedImage,
OutputStream os) |
void |
encodeWBMP(RenderedImage renderedImage,
OutputStream os) |
RenderedImage |
flipHorizontal(RenderedImage renderedImage) |
RenderedImage |
flipVertical(RenderedImage renderedImage) |
BufferedImage |
getBufferedImage(RenderedImage renderedImage) |
byte[] |
getBytes(RenderedImage renderedImage,
String contentType) |
Image |
getDefaultCompanyLogo() |
Image |
getDefaultOrganizationLogo() |
Image |
getDefaultSpacer() |
Image |
getDefaultUserFemalePortrait() |
Image |
getDefaultUserMalePortrait() |
Image |
getDefaultUserPortrait() |
Image |
getImage(byte[] bytes) |
Image |
getImage(File file) |
Image |
getImage(InputStream is) |
Image |
getImage(InputStream is,
boolean cleanUpStream) |
boolean |
isNullOrDefaultSpacer(byte[] bytes) |
ImageBag |
read(byte[] bytes) |
ImageBag |
read(File file) |
ImageBag |
read(InputStream inputStream) |
RenderedImage |
rotate(RenderedImage renderedImage,
int degrees) |
RenderedImage |
scale(RenderedImage renderedImage,
int width) |
RenderedImage |
scale(RenderedImage renderedImage,
int maxHeight,
int maxWidth) |
void |
write(RenderedImage renderedImage,
String contentType,
OutputStream os) |
static final String ORIENTATION_VALUE_HORIZONTAL_NORMAL
static final String ORIENTATION_VALUE_MIRROR_HORIZONTAL
static final String ORIENTATION_VALUE_MIRROR_HORIZONTAL_ROTATE_90_CW
static final String ORIENTATION_VALUE_MIRROR_HORIZONTAL_ROTATE_270_CW
static final String ORIENTATION_VALUE_MIRROR_VERTICAL
static final String ORIENTATION_VALUE_ROTATE_90_CW
static final String ORIENTATION_VALUE_ROTATE_180
static final String ORIENTATION_VALUE_ROTATE_270_CW
static final String TYPE_BMP
static final String TYPE_GIF
static final String TYPE_JPEG
static final String TYPE_NOT_AVAILABLE
static final String TYPE_PNG
static final String TYPE_TIFF
Future<RenderedImage> convertCMYKtoRGB(byte[] bytes,
String type)
BufferedImage convertImageType(BufferedImage sourceImage,
int type)
RenderedImage crop(RenderedImage renderedImage,
int height,
int width,
int x,
int y)
void encodeGIF(RenderedImage renderedImage,
OutputStream os)
throws IOException
IOExceptionvoid encodeWBMP(RenderedImage renderedImage,
OutputStream os)
throws IOException
IOExceptionRenderedImage flipHorizontal(RenderedImage renderedImage)
RenderedImage flipVertical(RenderedImage renderedImage)
BufferedImage getBufferedImage(RenderedImage renderedImage)
byte[] getBytes(RenderedImage renderedImage,
String contentType)
throws IOException
IOExceptionImage getDefaultCompanyLogo()
Image getDefaultOrganizationLogo()
Image getDefaultSpacer()
Image getDefaultUserFemalePortrait()
Image getDefaultUserMalePortrait()
Image getDefaultUserPortrait()
Image getImage(byte[] bytes) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionImage getImage(File file) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionImage getImage(InputStream is) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionImage getImage(InputStream is, boolean cleanUpStream) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionboolean isNullOrDefaultSpacer(byte[] bytes)
ImageBag read(byte[] bytes) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionImageBag read(File file) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionImageBag read(InputStream inputStream) throws ImageResolutionException, IOException
ImageResolutionExceptionIOExceptionRenderedImage rotate(RenderedImage renderedImage,
int degrees)
RenderedImage scale(RenderedImage renderedImage,
int width)
RenderedImage scale(RenderedImage renderedImage,
int maxHeight,
int maxWidth)
void write(RenderedImage renderedImage,
String contentType,
OutputStream os)
throws IOException
IOException