|
Posted by j.l.l@web.de on 03/19/07 21:40
Rami Elomaa schrieb:
> Chuck Anderson kirjoitti:
>> Is it possible to overlay a transparent watermark on an image -
>> dynamically?
> Yeah, I've done this. What you do is you open image handles to both
> files, the original image (imagecreatefromjpg) and the png watermark
> (imagecreatefrompng), then combine them with either imagecopy,
> imagecopyresampled or some other imagecopy* function that works best for
> you. Just go ahead and try them.
I've done one transparent overlay of two pictures, too, but found it a
bit tricky to do.
You have to be careful with using imagecopymerge. As i remember there is
a parameter to allow transparency to be used.
I wonder if different imagetypes can be used without any probs? Please
tell if you have tested it, i'm curious about it.
moido apinoiden planeetalta!
Navigation:
[Reply to this message]
|