Lucee object methods reference
Object Method Image.filterColorMap
These are passed to the function ImageFilters (see ImageFilter documentation) which convert gray values to colors.
Image.filterColorMap([string lineColor1,[string lineColor2]]):any
Category
image
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
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. |