Re: ImageCreateTrueColor background always gets black and JPEG vs. PNG color difference

From: Date: Tue, 29 Oct 2002 13:13:06 +0000
Subject: Re: ImageCreateTrueColor background always gets black and JPEG vs. PNG color difference
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-121845@lists.php.net to get a copy of this message
On Tue, Oct 29, 2002 at 07:51:21AM -0500, jla21@cornell.edu wrote: > >From the gd manual at boutell.com: Hmm, that was one place I didn't look at :( *stupid* > Truecolor images are always filled with black at creation time. There is > no concept of a "background" color index. > > I suppose you'll have to use a function like imagefill to get your yellow > background. Thanks, This works idd. :) > -Josh -- Met vriendelijke groet/With kind regards, Wouter de Jong System-Administrator CABLE & WIRELESS Delivering the Internet promise(tm) URL: http://www.widexs.nl Email: Wouter.deJong@cw.com Tel: +31 (0) 23 5698070 Fax: +31 (0) 23 5698099 *************************************************************************************** This message may contain information which is confidential or privileged. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. ***************************************************************************************

« previous php.general (#121845) next »