public class ImageUtils
extends java.lang.Object
| 构造器和说明 |
|---|
ImageUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static android.graphics.Bitmap |
getScaleBitmap(android.content.Context ctx,
java.lang.String filePath) |
static int |
readPictureDegree(java.lang.String path)
读取照片exif信息中的旋转角度
|
static android.graphics.Bitmap |
toturn(android.graphics.Bitmap img)
将图片旋转90度
|
public static int readPictureDegree(java.lang.String path)
path - 照片路径public static android.graphics.Bitmap toturn(android.graphics.Bitmap img)
img - public static android.graphics.Bitmap getScaleBitmap(android.content.Context ctx,
java.lang.String filePath)