Mutley Posted June 21, 2008 Share Posted June 21, 2008 Does anyone know how or have any articles on generating a PNG image based off SQL data? It's for a text based game and there are many about that offer their users a 'signature image' that displays data from the game. I'm just wondering how to create one for a project of my own? Kind Regards, Nick. Link to comment https://forums.phpfreaks.com/topic/111257-creating-a-png-image-with-sql-data/ Share on other sites More sharing options...
DarkWater Posted June 21, 2008 Share Posted June 21, 2008 Well, you start off with a base image, then you use imagecreatefrompng() to load that into PHP. Then, you just position the text where you want it. This requires the GD library which is bundled with most PHP binaries these days. Link to comment https://forums.phpfreaks.com/topic/111257-creating-a-png-image-with-sql-data/#findComment-571050 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.