|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.BufferedImageHelper
public class BufferedImageHelper
Helper class for BufferedImage objects.
| Constructor Summary | |
|---|---|
BufferedImageHelper()
|
|
| Method Summary | |
|---|---|
static BufferedImage |
deepCopy(BufferedImage img)
Returns a copy of a BufferedImage object. |
static int[][] |
getPixelRaster(BufferedImage img)
Returns the pixels of the image as an 2-D int array (row-wise). |
static int[] |
getPixels(BufferedImage img)
Returns all the pixels of the image as an int array (row-wise). |
static int[][] |
getRGBPixels(BufferedImage img)
Returns all the pixels of the image as an int array (row-wise) with the RGB(A) components as second dimension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferedImageHelper()
| Method Detail |
|---|
public static BufferedImage deepCopy(BufferedImage img)
img - the image to copypublic static int[] getPixels(BufferedImage img)
img - the image to get the pixels from
BufferedImage.getRGB(int, int)public static int[][] getRGBPixels(BufferedImage img)
img - the image to get the pixels from
BufferedImage.getRGB(int, int)public static int[][] getPixelRaster(BufferedImage img)
img - the image to get the pixels from
BufferedImage.getRGB(int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||