PHP 8.5.0 Beta 1 available for testing

Voting

: min(eight, eight)?
(Example: nine)

The Note You're Voting On

php at no dot spam dot prosa dot net
20 years ago
You could use the function imagecreatefrompng

(I assume that you already know how to get the text from the url.)

The only thing left to do is put that text on the image using the correct colors for you.

<?php

$im
= @imagecreatefrompng($imgname);

$text_color = imagecolorallocate ($im, $Red,$Green,$Blue);

imagestring ($im, 3, 5, 15, $SomeTextFromURL, $text_color);

?>

Regards,
Peter Berkhout.

<< Back to user notes page

To Top