0

I have a sort of a canvas on my site, (not canvas though for the need of support in IE) where images are loaded to and modified.
At the end of the process I'd like to take all the files used in the canvas and connect them into a (bigger) jpg.
My thoughts were to collect all the relative positions of the images and use it to reposition them on the new file. I should add as well that one of the files is a background image.
layers should not count more than lets say 4 including the background.
on top of that i needed to jpg-ize a text layer as well but for that I have a php script, if anyone has an efficient way to do it I'll be glad to see it as well.

CRABOLO
  • 8,605
  • 39
  • 41
  • 68
Ido_f
  • 689
  • 1
  • 11
  • 29

2 Answers2

1

Look at GD or ImageMagic PHP extensions. Both allow to do that.

Arnaud Le Blanc
  • 98,321
  • 23
  • 206
  • 194
0

Here is an example of how to do image overlays in imagemagick. You can specify the scaling and position of the overlay in the convert parameters.

Community
  • 1
  • 1
mpenkov
  • 21,621
  • 10
  • 84
  • 126