org.freehep.graphicsio.gif
Class GIFNearestColorMap
java.lang.Object
org.freehep.graphicsio.gif.GIFNearestColorMap
- All Implemented Interfaces:
- GIFColorMap
public class GIFNearestColorMap
- extends Object
- implements GIFColorMap
Reduces the number of colors by looking for the nearest colors.
- Version:
- $Id$
- Author:
- duns
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 |
GIFNearestColorMap
public GIFNearestColorMap()
create
public int[] create(int[][] pixels,
int maxColors)
- Specified by:
create
in interface GIFColorMap
Copyright © 2012. All Rights Reserved.