mirror of https://gitlab.com/QEF/q-e.git
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
RGB calculator Version 5
|
|
Modified from version4 ( Alessandro Da Rugna ) by Ge Xiaochuan 21.May.2012
|
|
New features: automatical sorting and interpolation algorithm is added
|
|
|
|
==========================
|
|
For compiling and cleaning
|
|
==========================
|
|
compile: make install
|
|
clean: make clean
|
|
Certain packages may be requested for compiling such as javac.
|
|
|
|
==========================
|
|
For modifying and re-compiling
|
|
==========================
|
|
./src/*.java are source files, once been modified, simply run make install for recompiling.
|
|
Certain packages may be requested for compiling such as javac.
|
|
|
|
|
|
==========================
|
|
For using the tool
|
|
==========================
|
|
By typing "java -jar ColorCalculator5.jar" in the terminal the user interface
|
|
will be launched and you can choose example input files on the left of the
|
|
interface, the corresponding color and RGB values will be displayed on the
|
|
right.
|
|
|
|
There are three pelargonin*.dat files in this directory. They are examples
|
|
of spectrum input files. They are essentially the same absorption spectrum
|
|
with different grids setting. This is because the older version can't adapt
|
|
different grids setting but the new one does. A fourth example, colorBlue.dat,
|
|
is also available.
|
|
|
|
For using your own input, just simply create a file ith the suffix .dat in
|
|
which the first column is the wavelength(nm) and the second column is the
|
|
absorption strength. Keep the input file in the same directory then you can
|
|
see it in the UI.
|
|
|
|
|