madrazel Posted June 4, 2007 Share Posted June 4, 2007 i have two files: 1. caption.png (800x25) 2. picture.png (800x576) is there a build in function to add caption to the picture that will return a file or image resource that will be content of one file on top the another ? Link to comment https://forums.phpfreaks.com/topic/54155-solved-how-to-appent-one-image-resoruce-to-another/ Share on other sites More sharing options...
chigley Posted June 4, 2007 Share Posted June 4, 2007 Perhaps use [pre]imagecopy()[/pre]? Link to comment https://forums.phpfreaks.com/topic/54155-solved-how-to-appent-one-image-resoruce-to-another/#findComment-267726 Share on other sites More sharing options...
madrazel Posted June 4, 2007 Author Share Posted June 4, 2007 yes, but the output image should have resolution 800x600 - this is simple task with any graphic editor but how to do it in php ? Link to comment https://forums.phpfreaks.com/topic/54155-solved-how-to-appent-one-image-resoruce-to-another/#findComment-267733 Share on other sites More sharing options...
madrazel Posted June 4, 2007 Author Share Posted June 4, 2007 solved: imagemagick convert -append .... Link to comment https://forums.phpfreaks.com/topic/54155-solved-how-to-appent-one-image-resoruce-to-another/#findComment-267797 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.