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 ? Quote 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]? Quote 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 ? Quote 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 .... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.