M_color - Fortran module for converting between color models
M_color is a collection of procedures primarily for converting between different color models.
The M_color Fortran module is described in detail in individual HTML documents as well as in a single HTML document (requires javascript).
The distribution contains this information as man-pages as well for use on systems with the man(1) command.
A CHANGELOG provides a history of significant changes and issues.
git clone https://github.com/urbanjost/M_color.git
cd M_color/src
# change Makefile if not using one of the listed compilers
# for gfortran
make clean
make F90=gfortran gfortran
# for ifort
make clean
make F90=ifort ifort
# for nvfortran
make clean
make F90=nvfortran nvfortran
This will compile the M_color module and build all the example programs from the document pages in the examples/ sub-directory.
Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )
git clone https://github.com/urbanjost/M_color.git
cd M_color
fpm test
or just list it as a dependency in your fpm.toml project file.
[dependencies]
M_color = { git = "https://github.com/urbanjost/M_color.git" }