public interface Image extends Media
To encode AWT image to an instance of Image,
use Images.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean).
Images.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean)| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Returns the height.
|
int |
getWidth()
Returns the width.
|
ImageIcon |
toImageIcon()
Converts to an image icon.
|
getByteData, getContentType, getFormat, getName, getReaderData, getStreamData, getStringData, inMemory, isBinary, isContentDispositionint getWidth()
int getHeight()
ImageIcon toImageIcon()
Copyright © 2018. All rights reserved.