TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Create PNG from PHP (http://www.talkphp.com/general/3690-create-png-php.html)

paulOr 12-01-2008 01:34 AM

Create PNG from PHP
 
Ok so i can create a png file easy, like:
domain.com/file.php?text=blah

and it will stick 'blah' ontop of the image, however im needing it a bit more complex than that :).

I want to do this like: somain.com/blah.png and then 'blah' will be stuck ontop of the png. so filename = the text ontop.

Anyone have a tutorial or can point me in the right direction?

Village Idiot 12-01-2008 03:38 AM

ImageGD can do this, there should be tons of tutorials out there.

paulOr 12-01-2008 03:46 AM

iv managed to do it, i just created a png with PHP then used HTACCESS to rename the php page to .png :)

Village Idiot 12-01-2008 04:26 AM

Sounds like a good way to do it.

paulOr 12-01-2008 04:28 AM

working very well so far :D


All times are GMT. The time now is 09:52 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0