1 Date: Wed, 28 May 2008 19:08:19 +0200
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2Ftext2pngPlugin;
8 Content-Transfer-Encoding: binary
10 Convert text into a png image using GD without using [WikiPluginCached|Help:WikiPlugin].
11 The images are stored in a private <PHPWIKI_DIR>/images/<LANG> subdirectory instead,
12 which are not timestamp checked at all. Delete the .png file(s) if you change anything.
14 This is a really simple and stupid plugin, which might need some work.
18 <?plugin text2png text="some text" ?>
28 set to 1 to recreate the image
30 18. with GD1 it's the pixelsize, with GD2 the pointsize
41 ! Configurable Options
43 See the sourcecode. You'd probably need to adjust $ttfont and text2png_debug.
48 <?plugin text2png text='Hello WikiWorld!' ?>
51 <?plugin text2png text='Hello WikiWorld!' ?>
55 Help:TeX2PngPlugin, Help:TexToPngPlugin
58 [PhpWikiDocumentation] [WikiPlugin|Help:WikiPlugin]