public interface Image
| Modifier and Type | Method and Description |
|---|---|
Image |
convert(ImageFormat format) |
Image |
crop(RegionParameters params) |
Image |
flipHorizontally() |
ImageFormat |
getFormat() |
int |
getHeight() |
int |
getWidth() |
void |
performTransformation() |
Image |
rotate(int arcDegree) |
Image |
scale(ResizeParameters params) |
byte[] |
toByteArray() |
Image |
toDepth(ImageBitDepth depth) |
ImageFormat getFormat()
int getHeight()
int getWidth()
byte[] toByteArray()
throws UnsupportedOperationException,
IOException
Image crop(RegionParameters params) throws UnsupportedOperationException, InvalidParametersException
Image scale(ResizeParameters params) throws UnsupportedOperationException, InvalidParametersException
Image rotate(int arcDegree) throws UnsupportedOperationException, InvalidParametersException
Image flipHorizontally()
Image toDepth(ImageBitDepth depth) throws UnsupportedOperationException
UnsupportedOperationExceptionImage convert(ImageFormat format) throws UnsupportedOperationException
UnsupportedOperationExceptionvoid performTransformation()
throws TransformationException
TransformationExceptionCopyright © 2016. All rights reserved.