EchoFool Posted May 9, 2009 Share Posted May 9, 2009 Is there a way to add a png watermark to merge with a secondary image which is the image uploaded by the user that php can add the watermark to it... i've seen lots of sites that add their logo to the image that is uploaded, some have thousands of images, surely they are not do it by hand.. can php do this or is it some other langange? Quote Link to comment Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 9, 2009 Share Posted May 9, 2009 Yes you can with PHP GD module : http://www.php.net/manual/en/ref.image.php Quote Link to comment Share on other sites More sharing options...
EchoFool Posted May 9, 2009 Author Share Posted May 9, 2009 Would it be this function: imagecopymerge — Copy and merge part of an image Quote Link to comment Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 9, 2009 Share Posted May 9, 2009 Sound like it. Is it a question ? Quote Link to comment Share on other sites More sharing options...
EchoFool Posted May 9, 2009 Author Share Posted May 9, 2009 Yeah there was alot of functions that almost sounded the same to one other so am unfamiliar which one hits the nail on the head for what i need. Quote Link to comment Share on other sites More sharing options...
gevans Posted May 9, 2009 Share Posted May 9, 2009 There's a few functions that will work. There's always lots of ways to do one thing, sometimes any of them is right. Have a play and see what you can get done! Quote Link to comment Share on other sites More sharing options...
l0ve2hat3 Posted May 9, 2009 Share Posted May 9, 2009 http://www.php.net/manual/en/image.examples-watermark.php http://www.php.net/manual/en/image.examples.merged-watermark.php Quote Link to comment 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.