public class SimpleImageInfo extends Object
| Constructor and Description |
|---|
SimpleImageInfo(byte[] bytes) |
SimpleImageInfo(File file) |
SimpleImageInfo(InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
ImageFormat |
getMimeType() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setWidth(int width) |
String |
toString() |
public SimpleImageInfo(File file) throws IOException
IOExceptionpublic SimpleImageInfo(InputStream is) throws IOException
IOExceptionpublic SimpleImageInfo(byte[] bytes)
throws IOException
IOExceptionpublic int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public ImageFormat getMimeType()
Copyright © 2015. All Rights Reserved.