drawing with alpha in GD 2.0.1

From: Date: Thu, 08 Aug 2002 12:23:59 +0000
Subject: drawing with alpha in GD 2.0.1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111635@lists.php.net to get a copy of this message
I have 2 images (image1 = photo, image2 = colored shapes). None of which have an alpha channel and I wish to place image2 over image1 with an opacity of 50%. Is this possible with GD 2.0.1 or should I try something like ImageMagick? If this can't be done I might considder dynamicaly constructing the colored shapes all over. I then need to allocate colors with an 50% opacity and draw the shapes over image1. Can this be done with GD? Vincent

« previous php.general (#111635) next »