(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ImageString -- Draw a string horizontally


int imagestring (int im, int font, int x, int y, string s, int col)

ImageString() draws the string s in the image identified by im at coordinates x, y (top left is 0, 0) in color col. If font is 1, 2, 3, 4 or 5, a built-in font is used.

See also ImageLoadFont().