public class AndroidImageWrapper extends AbstractImageWrapper
format, quality| Constructor and Description |
|---|
AndroidImageWrapper(android.graphics.Bitmap image) |
AndroidImageWrapper(android.graphics.Bitmap image,
String format) |
AndroidImageWrapper(android.graphics.Bitmap image,
String format,
int quality) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
android.graphics.Bitmap |
getImage() |
int |
getWidth() |
ImageWrapper |
resize(int width,
int height) |
void |
setImage(android.graphics.Bitmap image) |
void |
write(OutputStream os) |
getData, getFormat, getQuality, resize, setFormat, setQualitypublic AndroidImageWrapper(android.graphics.Bitmap image)
public AndroidImageWrapper(android.graphics.Bitmap image,
String format)
public AndroidImageWrapper(android.graphics.Bitmap image,
String format,
int quality)
public android.graphics.Bitmap getImage()
public void setImage(android.graphics.Bitmap image)
image - the image to setpublic int getWidth()
public int getHeight()
public void write(OutputStream os) throws IOException
IOExceptionpublic ImageWrapper resize(int width, int height)
Copyright © 2019. All rights reserved.