0

I am able to retrieve all of my friend's profile pics.

There are some apps where the some profile pics are stitched together and uploaded into the user's photo album.

I have absolutely no problems retrieving the images or uploading images. I have no idea how to glue together these pics.

Any suggestions?

  • possible duplicate of [Merging two images with PHP](http://stackoverflow.com/questions/3876299/merging-two-images-with-php) – Trufa Feb 04 '11 at 04:05

1 Answers1

0

Maybe you could use imagecopy() or even better imagecopyresized() and paste them together?

Is this what you were aiming at?

Trufa
  • 39,971
  • 43
  • 126
  • 190
  • The links look relevant to what I want to do. I want to create a new image which consists of two smaller images side by side. –  Feb 04 '11 at 03:49
  • @Karthik check this out: http://stackoverflow.com/questions/3876299/merging-two-images-with-php is this what you wanted? – Trufa Feb 04 '11 at 03:56
  • @Karthik Thank you very much for accepting my answer I just wanted to warn you though that this I'm voting to close this question since it is pretty much an exact duplicate! Ok? Glad you found the answer you were looking for! – Trufa Feb 04 '11 at 04:04