Thanks for replying.
> You start with an image: $myimage
> You clone that image into another image: $copy
The only reason that i clone that is to take the finally $genename.png with two png the one next to other.When i succeed on the finnaly $genename.png i will replace $copy with another image according to my goal on the script.
Also i have tried to many values (such as $myimage->copyMerge($copy,10,10,0,0,25,25,50)) in order to take the two images, the one next to the other, as one.Any other ideas?