public interface ThumbnailGenerator
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
createThumbnail(BufferedImage image,
int newSize)
Creates the thumbnail.
|
BufferedImage |
createThumbnail(BufferedImage image,
int newWidth,
int newHeight)
Returns a thumbnail of a source image.
|
BufferedImage createThumbnail(BufferedImage image, int newSize)
image - the imagenewSize - the new sizeBufferedImage createThumbnail(BufferedImage image, int newWidth, int newHeight)
Returns a thumbnail of a source image.
image - the source imagenewWidth - the width of the thumbnailnewHeight - the height of the thumbnailBufferedImage containing a thumbnail of imageCopyright © 2017 SAP SE. All Rights Reserved.