You are here: Re: Library to manipulate background color of a picture « PHP Programming Language « IT news, forums, messages
Re: Library to manipulate background color of a picture

Posted by Philip Ronan on 10/30/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация