Merging images for watermark

Recommend this page to a friend!

      GD2 Imaging  >  All threads  >  Merging images for watermark  >  (Un) Subscribe thread alerts  
Subject:Merging images for watermark
Summary:Need to know to merge 2 images for watermark.
Author:Amjad Ali
Date:2013-03-20 12:54:21
Update:2013-03-21 12:15:16

  1. Merging images for watermark   Reply   Report abuse  
Amjad Ali - 2013-03-20 12:54:21
Dear Artur,

First of all I would like to appreciate for your excellent effort for this library. I need a favor from you to suggest me or give sample example to merge images using useBlender function. Quick response would be much appreciated. Thanks a ton in advance

Amjad A.

  2. Re: Merging images for watermark   Reply   Report abuse  
Artur Graniszewski - 2013-03-21 12:15:16 - In reply to message 1 from Amjad Ali


$image1 = new Image('image1.png');
$image2 = new Image('image2.png');
$image1->blend($image2, new Point(0, 0), Blender::USE_LIGHTEN);


For more information send a message to info at phpclasses dot org.