return ret;
// Open the composition
- String errors;
- job_list.front().root=open_canvas(job_list.front().filename, errors);
+ String errors, warnings;
+ job_list.front().root=open_canvas(job_list.front().filename, errors, warnings);
if(!job_list.front().root)
{
{
try
{
- job_list.front().canvas=job_list.front().root->find_canvas(canvasid);
+ String warnings;
+ job_list.front().canvas=job_list.front().root->find_canvas(canvasid, warnings);
}
catch(Exception::IDNotFound)
{
extract_append(imageargs,composite_file);
if(!composite_file.empty())
{
- String errors;
- Canvas::Handle composite(open_canvas(composite_file, errors));
+ String errors, warnings;
+ Canvas::Handle composite(open_canvas(composite_file, errors, warnings));
if(!composite)
{
cerr<<_("Unable to append '")<<composite_file<<"'."<<endl;