void set_bitplanes(QSP_ARG_DECL int nplanes,float *amps) { /* BUG here is where we should be checking status for white & vectors */ set_ncomps(nplanes); set_comp_amps(QSP_ARG amps); }
static COMMAND_FUNC( do_set_ncomps ) { int nc; nc=(int)how_many("number of image components"); set_ncomps(nc); }