PHP, GD2, Transperancy, PNG, AAAARGH!

GD and GD2 are useful libraries for creating graphics on-the-fly. Discuss your PHP GD and GD2 scripts here.

Moderators: onion2k, General Moderators

Post Reply
tjgardiner
Forum Newbie
Posts: 1
Joined: Tue May 22, 2007 9:36 pm

PHP, GD2, Transperancy, PNG, AAAARGH!

Post 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.
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post 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
Post Reply