Android Utililty Methods BufferedImage Pixel Get

List of utility methods to do BufferedImage Pixel Get

Description

The list of methods to do BufferedImage Pixel Get are organized into topic(s).

Method

int[]getPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels)
get Pixels
if (w == 0 || h == 0) {
    return new int[0];
if (pixels == null) {
    pixels = new int[w * h];
} else if (pixels.length < w * h) {
    throw new IllegalArgumentException(
            "Pixels array must have a length >= w * h");
...