Re: drawing with alpha in GD 2.0.1
| From: | Rasmus Lerdorf | Date: | Thu, 08 Aug 2002 14:35:14 +0000 |
| Subject: | Re: drawing with alpha in GD 2.0.1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111656@lists.php.net to get a copy of this message | ||
See php.net/ImageAlphaBlending
On Thu, 8 Aug 2002, Vincent Jansen wrote:
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>