output.tag.set_property("PRESERVELUMINOSITY", config.preserve);
output.tag.set_property("LOCKPARAMS", config.lock_params);
output.append_tag();
output.tag.set_property("PRESERVELUMINOSITY", config.preserve);
output.tag.set_property("LOCKPARAMS", config.lock_params);
output.append_tag();