开发者

How to use imagefill() from file?

开发者 https://www.devze.com 2022-12-26 04:31 出处:网络
Thanks for looking at this question. I wanted to know how can I use the GD function imagefill() to patch an image with another image.

Thanks for looking at this question.

I wanted to know how can I use the GD function imagefill() to patch an image with another image.

imagefill() currently accepts resource of a color.

I can do that. But wanted to know how this can be done with a file.

I noticed a user note - But that didn't worked and took a long time for completion :-( http://www.php.net/manual/en/function.ima开发者_运维问答gefill.php#84288


Okay people, have figures it out...

One needs to use imagecopymerge() function to achieve what i was trying to.

Thanks to all the viewers!

0

精彩评论

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