1 Date: Sat, 24 Jan 2009 19:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2Ftext2pngPlugin;
9 Content-Transfer-Encoding: binary
11 Convert text into a png image using GD without using [WikiPluginCached|Help:WikiPlugin].
12 The images are stored in a private <PHPWIKI_DIR>/images/<LANG> subdirectory instead,
13 which are not timestamp checked at all. Delete the .png file(s) if you change anything.
15 This is a really simple and stupid plugin, which might need some work.
19 <?plugin text2png text="some text" ?>
29 set to 1 to recreate the image
31 18. with GD1 it's the pixelsize, with GD2 the pointsize
42 === Configurable Options
44 See the sourcecode. You'd probably need to adjust $ttfont and text2png_debug.
49 <?plugin text2png text='Hello WikiWorld!' ?>
52 <?plugin text2png text='Hello WikiWorld!' ?>
55 * [Help:TeX2PngPlugin]
56 * [Help:TexToPngPlugin]
59 [PhpWikiDocumentation] [CategoryWikiPlugin]