Roxen.git / server / modules / graphics / cimg.pike

version» Context lines:

Roxen.git/server/modules/graphics/cimg.pike:1:   // This is a roxen module. Copyright © 1999, Idonex AB.   //      #include <module.h>   inherit "module";   inherit "roxenlib";   constant thread_safe=1;      roxen.ImageCache the_cache; - constant cvs_version="$Id: cimg.pike,v 1.10 2000/01/30 21:18:55 per Exp $"; + constant cvs_version="$Id: cimg.pike,v 1.11 2000/02/02 18:41:57 jonasw Exp $";   constant tagdesc="Provides the tag 'cimg' that can be used to convert images "    "between different image formats.";      array register_module()   {    return    ({    MODULE_PARSER,    "Image converter",    tagdesc,    0,1    });   }      TAGDOCUMENTATION - #ifdef manul + #ifdef manual   constant tagdoc=(["cimg":"<desc tag>"+tagdesc+"</desc>"]);   /*    "Provides a tag 'cimg'. Usage: "    "&lt;cimg src=\"indata file\" format=outformat [quant=numcolors] [img args]&gt;",   */   #endif      void start()   {    the_cache = roxen.ImageCache( "cimg", generate_image );