Reply to Re: selective recolor an image

Your name:

Reply:


Posted by petersprc on 10/11/06 13:15

You can use imagecolorset. There's an an example in the comment from
olivier in the manual page:

http://us3.php.net/manual/en/function.imagecolorset.php#13963

Another way is to copy the image pixel by pixel. Example:

http://www.phpied.com/image-fun/

Mark wrote:
> how might one recolor an image..so that, for example, all shades of
> purple are converted to shades of red?
>
> i'm sure someone's already made a function out there, i just don't have
> a clue what to google.
>
> if someone could point me in the right direction, or post some code, it
> would be much appreciated.

[Back to original 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

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