Örnek 1 PHP ile PNG oluşturmak
<?php
header("Content-type: image/png");
$string = $_GET['text'];
$foto = imagecreatefrompng("images/button1.png");
$turuncu = imagecolorallocate($foto, 220, 210, 60);
$px = (imagesx($foto) - 7.5 * strlen($string)) / 2;
imagestring($foto, 3, $px, 9, $string, $turuncu);
imagepng($foto);
imagedestroy($foto);
?>