Re: image question again

From: Date: Wed, 07 Apr 2010 09:41:59 +0000
Subject: Re: image question again
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-303870@lists.php.net to get a copy of this message
On Tue, 2010-04-06 at 21:44 -0500, Karl DeSaulniers wrote: > When I have an imagecreatetruecolor and I create another one and use > imagecopymerge, how do I keep the backgrounds transparent even if say > the width of the top image is smaller than the back image? > I keep getting a black background where the top image does not cover > the back. It sets the transparency to the rest of the top image as > long as it is covering the bottom one. I think it has to do with the > imagealphablending. > Any ideas? > TIA > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > If it's just that the images are different sizes, then imagecopyresample might be the better option. Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#303870) next »