![]() |
|
[PHP] Adding image(s) to another image? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [PHP] Adding image(s) to another image? (/showthread.php?tid=3163394) |
Adding image(s) to another image? - Son_Of_Diablo - Jan 9, 2013 Hello! I'm trying to make a PHP script that will add one or more images to and already existing image :) what I have so far is just a script that makes an rectangle with some text, but I wanna add another image on top of the first one (the one the script is making). But I can't figure out how to do this :/ I have tried to Google it but no luck there :/ Can you please help me? :D Many thanks! 🤝 * - CurosMJ - Jan 10, 2013 You need to work with GD and ImageMagick . These two are image editing libraries for php, Google 'em, you might get what you want. * - badbrains - Jan 10, 2013 (Jan 10, 2013 12:27 AM)CurosMJ Wrote: You need to work with GD and ImageMagick . These two are image editing libraries for php, Google 'em, you might get what you want. GD OR ImageMagick, not both. This should help you, OP: http://php.net/manual/en/function.imagecopymerge.php * - CurosMJ - Jan 10, 2013 (Jan 10, 2013 12:59 AM)PeopleUnderTheStairs Wrote: GD OR ImageMagick, not both. Yeah, this one ^^^ .Sometimes , "and" & "or" mess up. Sorry XD * - Son_Of_Diablo - Jan 10, 2013 Thank you guys! :D I will take a look at it :P Many thanks! 🤝 |