In original file http://www.litewebsite.com/SOURCECODE/LiteStamp.class.phps
and article
Replace
imagecopymerge($this->pictureFile, $this->stampFile, $this->stampXpos, $this->stampYpos, 0, 0, $this->stampInfo[0], $this->stampInfo[1], 100);
with
imagecopy($this->pictureFile, $this->stampFile, $this->stampXpos, $this->stampYpos, 0, 0, $this->stampInfo[0], $this->stampInfo[1]);
in stampPicture() function allows to use PNG-24 watermarks with advanced transparency.
No comments:
Post a Comment