public interface SimpleImage extends IsEmpty
Modifier and Type | Method and Description |
---|---|
SimpleImage |
fitinto(int width,
int height) |
java.awt.image.BufferedImage |
getBufferedImage() |
java.lang.String |
getFormatName() |
int |
getHeight() |
int |
getWidth() |
SimpleImage |
horizontalflip() |
SimpleImage |
resize(double factor) |
SimpleImage |
resize(int width,
int height) |
SimpleImage |
rotate(int angle) |
void |
save(java.io.File output,
java.lang.String formatName) |
void |
save(java.io.OutputStream output,
java.lang.String formatName) |
void |
set(java.awt.image.BufferedImage image) |
void |
set(java.lang.Object source) |
byte[] |
toBytearray() |
byte[] |
toBytearray(java.lang.String format) |
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String format) |
java.lang.String |
toStringBase64() |
java.lang.String |
toStringBase64(java.lang.String format) |
java.lang.String |
toURL() |
SimpleImage |
transform(java.awt.geom.AffineTransform transform) |
SimpleImage |
transform(java.awt.geom.AffineTransform transform,
int width,
int height) |
SimpleImage |
verticalflip() |
isEmpty, isEmpty, isEmpty, isEmptyQuietly
java.awt.image.BufferedImage getBufferedImage()
byte[] toBytearray()
byte[] toBytearray(java.lang.String format)
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toString(java.lang.String format)
java.lang.String toStringBase64()
java.lang.String toStringBase64(java.lang.String format)
java.lang.String toURL()
java.lang.String getFormatName()
void set(java.awt.image.BufferedImage image)
void set(java.lang.Object source)
int getWidth()
int getHeight()
SimpleImage resize(double factor)
SimpleImage resize(int width, int height)
SimpleImage fitinto(int width, int height)
SimpleImage rotate(int angle)
SimpleImage horizontalflip()
SimpleImage verticalflip()
SimpleImage transform(java.awt.geom.AffineTransform transform, int width, int height)
SimpleImage transform(java.awt.geom.AffineTransform transform)
void save(java.io.File output, java.lang.String formatName) throws java.io.IOException
java.io.IOException
void save(java.io.OutputStream output, java.lang.String formatName) throws java.io.IOException
java.io.IOException