开发者

php gd: create new image based on combine/join 3 images, and then rotate the new image

开发者 https://www.devze.com 2022-12-12 12:30 出处:网络
Basically I have 3 png images. They have the same height and different width. I want to create a new image on the fly, then join the 3 images (not merging, I want to respect the content of each image

Basically I have 3 png images. They have the same height and different width.

I want to create a new image on the fly, then join the 3 images (not merging, I want to respect the content of each image) and put them on the new image.

After that I 开发者_开发技巧wanto to rotate that new image.

I want to do it with php GD.

If someone can give me an idea, It would be awesome.


Create a new image in memory (setting width&height depending on how you want to join them), place the 3 images onto that image and save it. This would be really simple with a library like WideImage

0

精彩评论

暂无评论...
验证码 换一张
取 消