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 - 2000, Roxen IS.   //      #include <module.h>   inherit "module";   constant thread_safe=1;      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.34 2000/11/09 23:15:57 kuntri Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.35 2000/11/19 21:32:54 kuntri Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "   "to convert images between different image formats.";         mapping tagdocumentation() {    Stdio.File file=Stdio.File();    if(!file->open(__FILE__,"r")) return 0;    mapping doc=compile_string("#define manual\n"+file->read())->tagdoc;
Roxen.git/server/modules/graphics/cimg.pike:67: Inside #if defined(manual)
   Insert images from other sources, e.g. databases through entities or    variables.</p>   <ex type='box'>   <emit source='sql' query='select imagedata from images where id=37'>   <cimg data='&sql.imagedata;'/>   </emit>   </ex>   </attr>",      "emit#cimg":({ #"<desc plugin='plugin'><p><short> -  Entitybased version of <xref href='cimg.tag' />.</short> Takes the -  same attributes as <tag>cimg</tag>.</p> +  Entitybased version of <xref href='../graphics/cimg.tag' />.</short> +  Takes the same attributes as <tag>cimg</tag>.</p>   </desc>",      ([   "&_.type;":#"<desc ent='ent'><p>    Returns the image's content-type.</p>   </desc>",      "&_.src;":#"<desc ent='ent'><p>    Returns the path to the indata file.</p>   </desc>",