SRJRCFrames
v0.1.296

de.schwarzrot.image.support
Class ImageUtils

java.lang.Object
  extended by de.schwarzrot.image.support.ImageUtils

public class ImageUtils
extends Object


Constructor Summary
ImageUtils()
           
 
Method Summary
protected static IndexColorModel createIndexColorModel(int[] palette, int numColors)
           
protected static int[][] getPixels(Image image)
          Snag the pixels from an image.
static BufferedImage rgb2Indexed(BufferedImage image)
           
static BufferedImage rgb2Indexed(BufferedImage image, int numColors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtils

public ImageUtils()
Method Detail

rgb2Indexed

public static BufferedImage rgb2Indexed(BufferedImage image)

rgb2Indexed

public static BufferedImage rgb2Indexed(BufferedImage image,
                                        int numColors)

createIndexColorModel

protected static IndexColorModel createIndexColorModel(int[] palette,
                                                       int numColors)

getPixels

protected static int[][] getPixels(Image image)
                            throws IOException
Snag the pixels from an image. (taken from TestQuantize.java) version 0.90 19 Sep 2000 author Adam Doppelt

Throws:
IOException

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.