public class ImageUtil extends Object
| 构造器和说明 |
|---|
ImageUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImageMeta |
getImageMeta(byte[] byteArray)
获取图片信息
|
static boolean |
isAnimatedImage(byte[] byteArray)
判断是否为动画图片
判断标准:1.
|
static BufferedImage |
read(byte[] byteArray)
读取图片
|
public static boolean isAnimatedImage(byte[] byteArray)
byteArray - 图片内容public static ImageMeta getImageMeta(byte[] byteArray)
byteArray - 图片数据public static BufferedImage read(byte[] byteArray)
byteArray - 图片内容Copyright © 2022. All rights reserved.