diff --git a/caca-php/examples/www/render.php b/caca-php/examples/www/render.php index 235f350..50cc635 100644 --- a/caca-php/examples/www/render.php +++ b/caca-php/examples/www/render.php @@ -1,27 +1,6 @@ - - - - -Я люблю Либкаку - - - - - -$img = imagecreatetruecolor($width, $height); + + +Я люблю Либкаку + + + + -caca_render_canvas($canvas, $font, $img); +

Text mode:

+ -if ($pngmode) - imagepng($img); -else -{ -?> -
- - -
+

Generated image:

+ +