Routines to assist ImageAPI to draw styled text as part of the ImageAPI or ImageCache pipeline.
ImageAPI_text provides additional features to supplement ImageAPI :- actions to render text on an image with many styles, effects and settings.
It publishes an API library to assist other modules to generate text on-the-fly, re-using the common image management interface defined by ImageAPI and ImageCache.
Text Styles
The styles are defined in a css-like way (a combination of SVG and CSS), and so far support effects like:
[
fill, fill-opacity, font-size, stroke, stroke-opacity, text-shadow,
padding (individual sides),
positioning (top,left,right,bottom, center),
rotation, custom effects, background-color, background-opacity,
white-space (word-wrap), text-align
]
For a full description of text styles and effects, see imageapi_text/help/syntax_reference.html
For accessibility and design choice, a number of rendering options are available for displaying the image on the page, from straight img tag replacement to several methods of css replacement ( Leahy/Langridge, Phark, Overlay ).