Albert wrote:
Jochem Maas wrote:

imagecreatetruecolor() is probably what your after:

http://php.net/imagecreatetruecolor

Albert wrote:

Notes:
1. When using imagecreatetruecolor the images turn black


I did try imagecreatetruecolor() but then the images turn black.

the output image resource you create should be created with $xxx = 
imagecreatetruecolor(1000,1000),
you should call imagealphablending($xxx, true) on the output image resource 
after you create and
before copying [which you are as far as I can tell], and you should use 
imagecopyresampled()
to actually copy the image data into the final image (instead of imagecopy()).

try this site:
http://php.amnuts.com/

I use a very hacked up version of his image masking class to do similar things 
to
what you want to do.


Albert


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

Reply via email to