Page 1 of 1

PHP, GD2, Transperancy, PNG, AAAARGH!

Posted: Tue May 22, 2007 9:42 pm
by tjgardiner
Hi all.

I have what is probably a complicated question that has already been covered somewhere in this forum... if it has, PLEASE SEND ME TO THE RIGHT PLACE!

I have three images (they change) all have transparency information in them.

I want to merge them all together, after resizing. But I don't want to loose any transparency information.

I can get the images to merge without loosing transperancy. That is fine. But not if I resize them. I have tried to use onion's code (with the imagecreatetruecolortransperant() stuff in it) and i'm not having any luck.

Would anyone mind taking a look over the code if i were to post it?

Thanks,

Tom.

Posted: Wed May 23, 2007 7:30 am
by dbevfat
I know the problem, I just don't currently know how to go around it. I've developed WideImage*, I think it should work with it, so you can give it a try.

* http://wideimage.sourceforge.net