public class BitmapUtils
extends java.lang.Object
Constructor and Description |
---|
BitmapUtils() |
Modifier and Type | Method and Description |
---|---|
static BitmapFactory.Options |
getBitmapOptionsForSubSampling(java.io.InputStream is) |
static Bitmap |
getSubSampledBitmap(java.io.FileDescriptor fd,
int reqWidth,
int reqHeight) |
static Bitmap |
getSubSampledBitmap(java.io.InputStream is,
int reqWidth,
int reqHeight) |
static Bitmap |
getSubSampledBitmap(java.io.InputStream is,
int reqWidth,
int reqHeight,
Options options) |
static Bitmap |
getSubSampledBitmap(Resources res,
int resourceId,
int reqWidth,
int reqHeight) |
static Bitmap |
getSubSampledBitmap(java.lang.String fileName,
int reqWidth,
int reqHeight) |
public static BitmapFactory.Options getBitmapOptionsForSubSampling(java.io.InputStream is)
public static Bitmap getSubSampledBitmap(java.io.InputStream is, int reqWidth, int reqHeight, Options options)
public static Bitmap getSubSampledBitmap(Resources res, int resourceId, int reqWidth, int reqHeight)
public static Bitmap getSubSampledBitmap(java.lang.String fileName, int reqWidth, int reqHeight)
public static Bitmap getSubSampledBitmap(java.io.FileDescriptor fd, int reqWidth, int reqHeight)
public static Bitmap getSubSampledBitmap(java.io.InputStream is, int reqWidth, int reqHeight)