public interface ThumbnailGenerator
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
createThumbnail(java.awt.image.BufferedImage image,
int newSize)
Creates the thumbnail.
|
java.awt.image.BufferedImage |
createThumbnail(java.awt.image.BufferedImage image,
int newWidth,
int newHeight)
Returns a thumbnail of a source image.
|
java.awt.image.BufferedImage createThumbnail(java.awt.image.BufferedImage image,
int newSize)
image - the imagenewSize - the new sizejava.awt.image.BufferedImage createThumbnail(java.awt.image.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 © 2018 SAP SE. All Rights Reserved.