net.sourceforge.jiu.apps
Class ColorIndexer
java.lang.Object
net.sourceforge.jiu.ops.Operation
net.sourceforge.jiu.ops.BatchProcessorOperation
net.sourceforge.jiu.apps.ColorIndexer
public class ColorIndexer
- extends BatchProcessorOperation
Loads image files and generates color index information for them.
- Since:
- 0.12.0
- Author:
- Marco Schmidt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLACK
public static final int BLACK
- See Also:
- Constant Field Values
RED
public static final int RED
- See Also:
- Constant Field Values
GREEN
public static final int GREEN
- See Also:
- Constant Field Values
BLUE
public static final int BLUE
- See Also:
- Constant Field Values
YELLOW
public static final int YELLOW
- See Also:
- Constant Field Values
MAGENTA
public static final int MAGENTA
- See Also:
- Constant Field Values
CYAN
public static final int CYAN
- See Also:
- Constant Field Values
WHITE
public static final int WHITE
- See Also:
- Constant Field Values
COLOR_NAMES
public static final String[] COLOR_NAMES
ColorIndexer
public ColorIndexer()
main
public static void main(String[] args)
processFile
public void processFile(String inputDirectory,
String inputFileName,
String outputDirectory)
- Description copied from class:
BatchProcessorOperation
- Method to be called on each file given to this operation.
Non-abstract heirs of this class must implement this method to add functionality.
- Specified by:
processFile
in class BatchProcessorOperation
- Parameters:
inputDirectory
- name of directory where the file to be processed residesinputFileName
- name of file to be processedoutputDirectory
- output directory for that file, need not necessarily be used
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Marco Schmidt