public class ImgMetaUtil extends Object
| 构造器和说明 |
|---|
ImgMetaUtil() |
public static int getOrientation(File file) throws IORuntimeException
file - 上传图片IORuntimeException - IO异常public static int getOrientation(InputStream in) throws IORuntimeException
in - 图片流IORuntimeException - IO异常Copyright © 2023. All rights reserved.