public class FileTypeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static ImageData.ImageType |
defaultImageType
Default image type
|
| Constructor and Description |
|---|
FileTypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ImageData.ImageType |
getImageType(byte[] image) |
static int |
getImageTypeFormat(byte[] image) |
public static ImageData.ImageType defaultImageType
public static int getImageTypeFormat(byte[] image)
public static ImageData.ImageType getImageType(byte[] image)
Copyright © 2018–2024 Alibaba Group. All rights reserved.