Guest Posted May 5, 2008 Share Posted May 5, 2008 I want to put two images ontop of each other using gd but it seems like when I put one image on the top you cant see the bottom image and it has transparency. I am using imagecopy to put it on top but I dont want it to replace it I want them to merge together. How can I do this? Link to comment https://forums.phpfreaks.com/topic/104132-php-gd-layers/ Share on other sites More sharing options...
Barand Posted May 5, 2008 Share Posted May 5, 2008 imagecopymerge() Link to comment https://forums.phpfreaks.com/topic/104132-php-gd-layers/#findComment-533128 Share on other sites More sharing options...
Guest Posted May 5, 2008 Share Posted May 5, 2008 That does the same thing and if i change the pct you can see the transparency still. I think from reading more about it that it needs to have a true color image so I did by using imagecreatetruecolor and then I have no transparency how do I add the transparency back? Link to comment https://forums.phpfreaks.com/topic/104132-php-gd-layers/#findComment-533129 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.