public final class ColorBuffers
extends java.lang.Object
Easy-to-use library for creating BufferedImage on the base of pixel arrays.
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
bgrToBufferedImage(int[] bgr,
int sx,
int sy,
boolean useAlpha) |
static java.awt.image.BufferedImage |
rgbToBufferedImage(byte[][] rgba,
int sx,
int sy) |
static java.awt.image.BufferedImage |
rgbToBufferedImage(int[] rgb,
int sx,
int sy,
boolean useAlpha) |
public static java.awt.image.BufferedImage rgbToBufferedImage(int[] rgb, int sx, int sy, boolean useAlpha)
public static java.awt.image.BufferedImage bgrToBufferedImage(int[] bgr, int sx, int sy, boolean useAlpha)
public static java.awt.image.BufferedImage rgbToBufferedImage(byte[][] rgba, int sx, int sy)