public class ImageSelectorProcessor
extends Object
| Constructor and Description |
|---|
ImageSelectorProcessor(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
cropImage(String cropRegion) |
byte[] |
scaleImage(int width) |
public byte[] cropImage(String cropRegion)
throws IOException,
PortalException
IOExceptionPortalExceptionpublic byte[] scaleImage(int width)
throws ImageResolutionException,
IOException
ImageResolutionExceptionIOException