Jump to content

PHP & PNG's


RootDogg

Recommended Posts

Hey guys, nice site, my first post :D

 

Right my query is about dynamically changing a piece of text in a png using php, I know you can create png's using php I have seen it done by creating sigs with stats about services in them, like number crunching.

 

The image is

 

comingsoon.jpg

 

At the moment it says coming soon and is a jpeg but I want to carry the basic theme I have http://www.rootdogg.co.uk but instead of making a new image everytime I create a new header for a sub page I would like to just set a variable and let php do the work?

 

Is this possible?

 

Cheers guys, Let me know if you want me to explain this more!

 

Edit: I think you might be able to do this in flash but there, I have no idea where to start :D

Link to comment
https://forums.phpfreaks.com/topic/39353-php-pngs/
Share on other sites

Take a look at this tutorial. If you have the GD library enabled on wherever you are running the code, it shouldn't be an issue (You can check with phpinfo() if you are unsure).

 

http://www.phpfreaks.com/tutorials/105/0.php

 

When you get a hang of the basics, doing what you need shouldn't be hard at all.

Link to comment
https://forums.phpfreaks.com/topic/39353-php-pngs/#findComment-189862
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.