export max value using an "int" instead of the encoding type
add several options : transparency, export (with or without color), selection of labels, colormap. Change some names