lib.utils
Class PixelUtils

java.lang.Object
  extended by lib.utils.PixelUtils

public class PixelUtils
extends java.lang.Object

useful functions to manipulate pixels

See Also:
BufferedImage#getRGB(int, int), BufferedImage#getRGB(int, int, int, int, int[], int, int)

Constructor Summary
PixelUtils()
           
 
Method Summary
static int getAlpha(int pixel)
           
static int getBlue(int pixel)
           
static int getGreen(int pixel)
           
static int getRed(int pixel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PixelUtils

public PixelUtils()
Method Detail

getAlpha

public static int getAlpha(int pixel)

getRed

public static int getRed(int pixel)

getGreen

public static int getGreen(int pixel)

getBlue

public static int getBlue(int pixel)