Branch: Tag:

2017-10-19

2017-10-19 12:58:18 by Anders Johansson <anders@roxen.com>

ImageCache: Added support for WebP as output format

Usable with format="webp" in <cimg/> and friends.

4239:       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":