palette_to_string
Description:
public static string palette_to_string (
Color[] colors)
Encodes a palette as a string, useful for persistent storage.
Parameters:
| colors |
an array of colors
|
| n_colors |
length of the array
|
Returns:
|
allocated string encoding the palette
|