vigra_getcmap
int vigra_getcmap(union vigracmap *, struct wsdisplay_cmap *, int);
error = vigra_getcmap(&sc->sc_cmap, cm, sc->sc_g300);