View Source:
Help/text2pngPlugin
Note:
This page has been locked and cannot be edited.
Convert text into a png image using GD without using [[Help:WikiPlugin|WikiPluginCached]]. The images are stored in a private <PHPWIKI_DIR>/images/<LANG> subdirectory instead, which are not timestamp checked at all. Delete the .png file(s) if you change anything. This is a really simple and stupid plugin, which might need some work. == Usage == {{{ <<text2png text="some text">> }}} == Arguments == {| class="bordered" |- ! Argument ! Description ! Default value |- | **text** | some text to display | |- | **lang** | language subdirectory | |- | **force** | set to 1 to recreate the image | |- | **fontsize** | | 18. with GD1 it's the pixelsize, with GD2 the pointsize |- | **with_shadow** | | 1 |- | **fontcolor** | | #000000 |- | **shadowcolor** | | #AFAFAF |- | **backcolor** | | #ffffff |} === Configurable Options === See the sourcecode. You'd probably need to adjust $ttfont and text2png_debug. == Example == {{{ <<text2png text='Hello WikiWorld!'>> }}} == See Also == * [[Help:TeX2pngPlugin]] * [[Help:TexToPngPlugin]] <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In