<gifwrap> performs old school Letterror gifwrap action.
It converts a piece of text to a series of images, which it can find in a directory.
For each letter in the text, it renders an
<img src="" />. Each character
is first converted to its ASCII value. The font directory will contain a list of numbered
GIF (or other) images.
- text: The text you want to render as an image. (Required)
- font: The directory where the font is located. Read the notes on relative linking. (Required)
- extension: The image extension. The default is "gif", but you could use "png" or "jpg" also.
- height: The height of the text. If you don't specify a height, no height parameter is generated and your browser will use the image's natural height.
To render a text in the "Railroad Gothic 57" font:
<gifwrap text="CORBON" font="fonts/RRG_57" />
The output will look as follows: