Jump to content


Photo

PHP Watermarking


  • Please log in to reply
3 replies to this topic

#1 FrostiE

FrostiE
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 21 October 2006 - 08:36 AM

Hey. I was wondering if anyone could help me with this.

Is it possible to add a semi-transparent water mark to a photo using PHP?
Basically it would just be a copyright that is overlayed over the original. But being a photo, it would be better if it was semi-transparent.

If anyone could help it would be greatly appreciated!  ;D

#2 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 21 October 2006 - 09:08 AM

Hi FrostiE,
I'am interested in that kind of a script too. Hope someone can help us giving the right direction  ;)

Thanks,
George
I don't need your script, I'll try to write it myself

#3 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 21 October 2006 - 09:14 AM

Would be worth looking into the GDLib functions, specifically imagecopyresampled() - The first comment on that manual page, someone has even provided a watermarking function which should give you some ideas.

#4 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 21 October 2006 - 09:28 AM

Thanks SA, it's very usefull ;)
I don't need your script, I'll try to write it myself




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users