documentation index ◦ reference manual ◦ function index

# im.ramp

Function: | im.ramp | (start, end):

Returns a 256 character linear ramp, where the first character has the value start and the last character has the value end. Such a ramp can be used as a map argument of im.Map.

## Example

    init:
        image cyan green = im.Map("cyan.png", bmap=im.ramp(0, 0))

documentation index ◦ reference manual ◦ function index