inferium Posted December 30, 2008 Share Posted December 30, 2008 Could somebody point me to a good tutorial on Image Editing/Generation in PHP? What I want to do is take a simple template image and add text to it in certain areas, but do this through a form process. Thanks a bunch!!! Link to comment https://forums.phpfreaks.com/topic/138810-image-editinggeneration/ Share on other sites More sharing options...
RussellReal Posted December 30, 2008 Share Posted December 30, 2008 http://php.net/imagestring and also.. in the lil examples on there they use imagecreate() {http://php.net/imagecreate} however, you can use imagecreatefromjpeg imagecreatefrompng imagecreatefromgif { http://php.net/imagecreatefromjpeg http://php.net/imagecreatefrompng http://php.net/imagecreatefromgif } to create an image resource with the width/height/image of the template file I hope I helped Link to comment https://forums.phpfreaks.com/topic/138810-image-editinggeneration/#findComment-725857 Share on other sites More sharing options...
inferium Posted December 30, 2008 Author Share Posted December 30, 2008 Ah sweet, this is something like what I was looking for. I found what I think is maybe a more relevant to what I want to do at http://scriptplayground.com/tutorials/php/Text-On-Image/ But I want to do this through forms. How would I make a form write to a certain part of the image? Link to comment https://forums.phpfreaks.com/topic/138810-image-editinggeneration/#findComment-725871 Share on other sites More sharing options...
RussellReal Posted December 30, 2008 Share Posted December 30, 2008 use $_REQUEST to get the information.. and putthe text where you'd put the static text Link to comment https://forums.phpfreaks.com/topic/138810-image-editinggeneration/#findComment-726006 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.