M_color
October 23, 2023 ยท View on GitHub
M_color
Name
M_color - Fortran module for converting between color models
Description
M_color is a collection of procedures primarily for converting between different color models. Documentation includes man-pages and a number of example programs.
Building the Module using make(1)
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.
Build and Test with FPM
(registered at the fpm(1) registry )
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" }
Documentation
User
-
A single page that uses javascript to combine all the HTML descriptions of the man-pages is at BOOK_M_color.
-
a simple index to the man-pages in HTML form for the routines and programs
-
There are man-pages in the repository download in the docs/ directory that may be installed on ULS (Unix-Like Systems).
-

-
CHANGELOG provides a history of significant changes
Developer Documentation
- The code was run through ford(1) to produce a developers' document.
- github action status
### See also:
#### Poskanzer PPM (Portable Pixel Map) packages:
- [M_pixel](https://github.com/urbanjost/M_pixel)
- [M_draw](https://github.com/urbanjost/M_draw)
#### External:
- [cubehelix](https://people.phy.cam.ac.uk/dag9/CUBEHELIX/)
- [forcolormap](https://github.com/vmagnin/forcolormap)



