Method Image.Colortable()->cast()
- Method cast
(
array
)Image.Colortable()- Description
-
cast the colortable to an array or mapping, the array consists of Image.Color objects and are not in index order. The mapping consists of index:Image.Color pairs, where index is the index (int) of that color.
example: (mapping)Image.Colortable(img)
- Parameter
to
-
must be "string", "array" or "mapping".