Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:4232:    if( alpha )    enc_args->alpha = alpha;       foreach( glob( "*-*", indices(args)), string n )    if(sscanf(n, "%*[^-]-%s", string opt ) == 2)    if( opt != "alpha" )    enc_args[opt] = (int)args[n];       switch(format)    { + #if constant(Image.WebP) && constant(Image.WebP.encode) +  case "webp": +  // Only mixed case module +  data = Image.WebP.encode( reply, enc_args ); +  break; + #endif    case "wbf":    format = "wbmp";    case "wbmp":    Image.Colortable bw=Image.Colortable( ({ ({ 0,0,0 }),    ({ 255,255,255 }) }) );    bw->floyd_steinberg();    data = Image.WBF.encode( bw->map( reply ), enc_args );    break;    case "gif":   #if constant(Image.GIF) && constant(Image.GIF.encode)