Re: [PROPOSAL] Package 'ImageText'

From: Date: Thu, 09 Oct 2003 17:42:59 +0000
Subject: Re: [PROPOSAL] Package 'ImageText'
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22533@lists.php.net to get a copy of this message
>> Sorry, what do you mean with that? > A method to handle the function calls below: > $img = imagecreate('500', '200'); > $white = imagecolorallocate($img, 255, 255, 255); > $black = imagecolorallocate($img, 0, 0, 0); > imagefill($img, 0, 0, $white); > imagerectangle($img, 0, 0, 499, 199, $black); > imagerectangle($img, 45, 95, 355, 155, $black); > $test->toImage($img, 50, 100); > header("Content-type: image/png"); > imagepng($img); > imagedestroy($img); I think ImageText is the wrong place for that. Maybe I'd write some class to handle images. I had the idea some time ago, but never did it. > Just so in the basic case where you wanted to create an image with > some text > you could do That'd be an idea. Regards, Toby

« previous php.pear.dev (#22533) next »