public class ImageFormat extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COLORSPACE_GRAY |
static String |
COLORSPACE_KEY |
static int |
COLORSPACE_RGB |
static int |
COLORSPACE_RGBA |
static int |
COLORSPACE_YUV |
Constructor and Description |
---|
ImageFormat() |
Modifier and Type | Method and Description |
---|---|
static int |
bytesPerSampleForColorspace(int colorspace) |
static MutableFrameFormat |
create(int colorspace) |
static MutableFrameFormat |
create(int colorspace,
int target) |
static MutableFrameFormat |
create(int width,
int height,
int colorspace,
int target) |
static MutableFrameFormat |
create(int width,
int height,
int colorspace,
int bytesPerSample,
int target) |
public static final String COLORSPACE_KEY
public static final int COLORSPACE_GRAY
public static final int COLORSPACE_RGB
public static final int COLORSPACE_RGBA
public static final int COLORSPACE_YUV
public static MutableFrameFormat create(int width, int height, int colorspace, int bytesPerSample, int target)
public static MutableFrameFormat create(int width, int height, int colorspace, int target)
public static MutableFrameFormat create(int colorspace, int target)
public static MutableFrameFormat create(int colorspace)
public static int bytesPerSampleForColorspace(int colorspace)