org.freehep.graphicsio.gif
Class GIFNearestColorMap

java.lang.Object
  extended by org.freehep.graphicsio.gif.GIFNearestColorMap
All Implemented Interfaces:
GIFColorMap

public class GIFNearestColorMap
extends java.lang.Object
implements GIFColorMap

Reduces the number of colors by looking for the nearest colors.

Version:
$Id$
Author:
duns

Constructor Summary
GIFNearestColorMap()
           
 
Method Summary
 int[] create(int[][] pixels, int maxColors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GIFNearestColorMap

public GIFNearestColorMap()
Method Detail

create

public int[] create(int[][] pixels,
                    int maxColors)
Specified by:
create in interface GIFColorMap


Copyright © 2000-2007 FreeHEP. All Rights Reserved.