pike.git / lib / modules / _Image_XCF.pmod

version» Context lines:

pike.git/lib/modules/_Image_XCF.pmod:400:       default:    werror("WARNING: XCF: Unsupported mode: "+mode+"\n");    return "normal";    }   }      array decode_layers( string|object|mapping what, mapping|void opts,    int|void concat )   { -  int shrink = (opts->shrink_fact||1); +     if(!opts) opts = ([]); -  +  int shrink = (opts->shrink_fact||1);       if(!objectp( what ) )    what = __decode( what );       array layers = ({});    if( opts->background )    {    mapping lopts = ([ "tiled":1, ]);    lopts->image = Image.Image( 32, 32, opts->background );    lopts->alpha = Image.Image( 32, 32, Image.Color.white );