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.32 2000/10/26 14:04:33 kuntri Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.33 2000/10/26 15:17:13 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:68: Inside #if defined(manual)
  </emit>   </ex>   </attr>",      "emit#cimg":({ #"<desc plugin><short hide>    Entitybased version of &lt;cimg&gt;</short>Entitybased version of    <tag>cimg</tag>. Takes the same attributes as <tag>cimg</tag>.   </desc>",      ([ - "&_type;":#"<desc ent> + "&_.type;":#"<desc ent>    Returns the image's content-type.   </desc>",    - "&_src;":#"<desc ent> + "&_.src;":#"<desc ent>    Returns the path to the indata file.   </desc>",    - "&_file-size;":#"<desc ent> + "&_.file-size;":#"<desc ent>    Returns the image's file size.   </desc>",    - "&_xsize;":#"<desc ent> + "&_.xsize;":#"<desc ent>    Returns the width of the image.   </desc>",    - "&_ysize;":#"<desc ent> + "&_.ysize;":#"<desc ent>    Returns the height of the image.   </desc>",    - "&_data;":#"<desc ent> + "&_.data;":#"<desc ent>    Returns the imagedata given through other sources, like databases    through entities.   </desc>"   ])      }),      ]);   #endif