You are here: Re: Ttransparent overlay watermark - on the fly? « PHP Programming Language « IT news, forums, messages
Re: Ttransparent overlay watermark - on the fly?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация