Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Adding image(s) to another image?

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! 🤝
You need to work with GD and ImageMagick . These two are image editing libraries for php, Google 'em, you might get what you want.
[Image: ocN2XB3.png?1]
(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
(Jan 10, 2013 12:59 AM)badbrains Wrote:  GD OR ImageMagick, not both.

This should help you, OP:
http://php.net/manual/en/function.imagecopymerge.php

Yeah, this one ^^^ .Sometimes , "and" & "or" mess up. Sorry XD
[Image: ocN2XB3.png?1]
Thank you guys! :D

I will take a look at it :P

Many thanks! 🤝


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by abdulthegreatJan 1, 2011 12:49 AM 2 67 Jan 1, 2011 12:49 AM
Last Post: abdulthegreat