Branch: Tag:

1999-06-25

1999-06-25 17:56:41 by Per Hedbor <ph@opera.com>

Pass the 'gamma' argument to the argcache

Rev: server/modules/graphics/cimg.pike:1.4

24:   mapping generate_image( mapping args, RequestID id )   {    return roxen.low_load_image( args->src, id ); + // if( i->img && args->gamma ) + // i->img = i->img->gamma( (float)args->gamma );   }      mapping find_internal( string f, RequestID id )
42:    "maxheight":args->maxheight,    "scale":args->scale,    "dither":args->dither, +  "gamma":args->gamma,    ]);       foreach( glob( "*-*", indices(args)), string n )
67:    "src":fix_relative( args->src, id ), "quant":args->quant,    "format":args->format, "maxwidth":args->maxwidth,    "maxheight":args->maxheight, "scale":args->scale, -  "dither":args->dither, +  "dither":args->dither, "gamma":args->gamma,    ]);       foreach( glob( "*-*", indices(args)), string n )