RE: [PHP] How to use transparent png in createfrompng?
| From: | joakim dot andersson at cybercom dot se | Date: | Fri, 05 Jul 2002 11:29:16 +0000 |
| Subject: | RE: [PHP] How to use transparent png in createfrompng? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105616@lists.php.net to get a copy of this message | ||
Have you tried imagecopyresampled instead? Maybe it solves your problem.
It's a long-shot.
Requires GD 2.x
/Joakim
> -----Original Message-----
> From: Victor Spång Arthursson [mailto:scooterbabe@mac.com]
> Sent: Friday, July 05, 2002 1:03 PM
> To: php-general@lists.php.net
> Subject: [PHP] How to use transparent png in createfrompng?
>
>
> Hi!
>
> I'm having problems with createfrompng…
>
> I do the following:
>
> 1 Creates a new image
>
> 2 Fill it with black
>
> 3 copy an jpg on to it
>
> 4 write some text
>
> 5 tries to use copyimageresized to put a transparent png over
> the whole
> image…
>
> It's in point 5 it goes wrong, because of some reason the png
> loses its
> transparens and becomes a white square instead of the nice
> transparent
> picture it was from the beginning…
>
> What have I done wrong or is it simply impossible to perform
> what i want?
>
> Sincerely
>
> Victor
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>