You need to use ImageCopyResampled() instead.  And don't forget to turn on
alpha blending beforehand using ImageAlphaBlending($im,true);

-Rasmus

On Sat, 6 Jul 2002, [ISO-8859-1] Victor Spång Arthursson wrote:

> Hi!
>
> I'm trying to copy a transparent (copyright) image over an existing
> using GD, but can't get it to work…
>
> The copyright image is a png, and can be found here:
> <http://adversus.no-ip.com/copyright.png>.
>
> Does anyone either know how to perform this, or knows a link to some
> tutorial who explains this step by step…?
>
> My problem is that the transparent image loses its transparens when I do
> the copyimageresized…
>
> Thankful for any help,
>
> sincerely
>
> Victor
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to