if(!value_desc.is_const())
throw Error(_("Can only export Canvas when used as constant parameter"));
Canvas::Handle canvas(value_desc.get_value().get(Canvas::Handle()));
if(!value_desc.is_const())
throw Error(_("Can only export Canvas when used as constant parameter"));
Canvas::Handle canvas(value_desc.get_value().get(Canvas::Handle()));