Boob sig script..


Recommended Posts

Don't know for sure as I haven't done it myself but I would imagine you would get the image with the plain sign with no writing on it. Then a function such as this would probably come in handy. PHP Image Function.

I haven't done it myself so it is just a guess on where to start. If you need to install the GD Library for Image functions to work try here. I'm not a pro web developer so I won't be much help other than pointing out the library and functions, it's up to you to figure out the algorithms.

Here you are, just an example :)

<?php

header('Content-type: image/png');

$image = imagecreatefrompng("me.png");

$white = imagecolorallocate($image, 255, 255, 255);
imagettftext($image, 7, 0, 270, 380, $white, "./LucidaSansRegular.ttf", "TEXT HERE");                                 

imagepng($image);

?>

The 270 and 380 are the positions where the text has to start. The rest see here.

Thanks to gwilson :yes:

Edited by HolgMan
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.