+ unsigned int nCmdLineInputs = args_info.inputs_num;
+ std::string output;
+ if(args_info.output_given)
+ output = args_info.output_arg;
+ else if(nCmdLineInputs--)
+ output = args_info.inputs[nCmdLineInputs];
+ else {
+ std::cerr << "Error, you should give the --output option or one image filename on the commande line." << std::endl;
+ exit(0);
+ }
+
+ if(args_info.input_given) {
+ l.push_back(args_info.input_arg);