public class LutSteal
extends java.lang.Object
Constructor and Description |
---|
LutSteal(javax.swing.Icon icon,
boolean horiz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main method.
|
void |
writeLut(java.io.OutputStream out,
boolean verbose)
Writes the strip of pixels down the middle of the ramp icon
as a lookup table that can be used by the Shaders class.
|
public LutSteal(javax.swing.Icon icon, boolean horiz)
icon
- icon containing color ramphoriz
- true to traverse ramp horizontally, false for verticallypublic void writeLut(java.io.OutputStream out, boolean verbose) throws java.io.IOException
out
- output streamverbose
- true to write RGB values to stderrjava.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.