Railo 4.2 Reference
Choose a function:

Function IMAGEFILTERCOLORMAP

These are passed to the function ImageFilters (see ImageFilter documentation) which convert gray values to colors.

Beispiel

imagefiltercolormap(string type,[string lineColor1,[string lineColor2]]):any

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
type string  Yes type of the color map, possible values are:
- spectrum: A colormap with the colors of the spectrum
- linear: A colormap which interpolates linearly between two colors
- grayscale: A grayscale colormap. Black is 0, white is 1  
lineColor1 string  No used only for type "linear", the color corresponding to value 0 in the colormap.  
lineColor2 string  No used only for type "linear", the color corresponding to value 1 in the colormap.