public final class ImageMetadata
extends java.lang.Object
Constructor and Description |
---|
ImageMetadata(byte[] imgBytes, int width, int height) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns image in array of bytes in BGRA format with 4 bytes per pixel.
以BGRA格式返回字节数组中的图像,每个像素4个字节。 |
int |
getImageHeight()
Returns the height of image.
返回图像的高度。 |
int |
getImageWidth()
Returns the width of image.
返回图像的宽度。 |
public byte[] getBytes()
public int getImageWidth()
public int getImageHeight()