|
Posted by Philip Ronan on 11/02/04 11:32
"Michael" wrote:
> Hello
>
> I'm looking for a library (preferably in PHP) to manipulate the
> background
> color of a picture (JPEG, GIF, PNG). It should be able to do it on the
> fly
> and without this terrible halo effect. Is it possible, or am I just
> going on
> a wild goose chase?
You might have some luck with a combination of imagecolorset and
imagecolorat, but it won't work with JPEG images.
<http://php.net/imagecolorset>
<http://php.net/imagecolorat>
Why don't you just use GIF or PNG images with backgrounds that are
transparent from the start?
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Navigation:
[Reply to this message]
|