Michiel <[EMAIL PROTECTED]> wrote:
> I would like to know what I'm doing when I manipulate images with the
> template attribute. The only documentation I could find was in the taglib
> documentation and that's just a lot of examples.
> (I presume there is a layer between the image magic commands and the
> template commands because they look different)
There is a layer but all imagemagic commands are useable (with a slightly
different syntax, which I'm sure you could guess by the examples). For
legacy and brevity reasons there are some mappings. It is not well
documented which (you can as well use the original image magick names).
But here the piece of code which is doing it:
if (a.equals("s"))
return "geometry";
if (a.equals("r"))
return "rotate";
if (a.equals("c"))
return "colors";
if (a.equals("t"))
return "transparent";
if (a.equals("i"))
return "interlace";
if (a.equals("q"))
return "quality";
if (a.equals("mono"))
return "monochrome";
if (a.equals("highcontrast"))
return "contrast";
if (a.equals("flipx"))
return "flop";
if (a.equals("flipy"))
return "flip";
if (a.equals("dia"))
return "negate";
See also:
http://www.mmbase.org/download/builds/2003-09-22/mmdocs/modules/images-and-attachments.html#
Michiel
--
Michiel Meeuwissen
Mediapark C101 Hilversum
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
[] ()