ivoilic Posted March 18, 2012 Share Posted March 18, 2012 So basically I have two lines that generate an image from png and then preserve the transparency of said png. $bub1 = imagecreatefrompng ("Energy/$energy1b.png"); imageSaveAlpha($bub1, true); This works by itself when generating just this image. But when combined with another image: imagecopymerge($image, $bub1, 680, 40, 0, 0, 50, 50, 100); It fills in the back ground around the image and the transparency is not preserved. Why is this and how can i fix it? Quote Link to comment https://forums.phpfreaks.com/topic/259180-image-transparency-after-merge/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.