Source:
<?php
# Note: this file is encoded in UTF-8!
$im = imlib_create_image(600,110);
imlib_image_fill_rectangle($im,1,1,598,108,0,150,150,255);
$fnt = imlib_load_font("verdana/20");
imlib_text_draw($im, $fnt, 25, 5, "example phrase in many languages", IMLIB_TEXT_TO_RIGHT, 255, 255, 0, 255);
imlib_text_draw($im, $fnt, 25, 35, "przykładowe zdanie w wielu językach", IMLIB_TEXT_TO_RIGHT, 255, 255, 0, 255);
imlib_text_draw($im, $fnt, 25, 65, "пример предложения во много языках", IMLIB_TEXT_TO_RIGHT, 255, 255, 0, 255);
header('Content-type: image/png');
imlib_dump_image($im);
?>
Return to the main page