You are here: Re: Image colours « PHP Language « IT news, forums, messages
Re: Image colours

Posted by Jeff Paffett on 11/11/60 11:31

From my reading today, it looks like I somehow need to group the pixels
by colour areas and store them in ranges of colours in the database
record for the image. These can then be searched on by percentage, to
show good colour matches. I'm just hoping that someone 'out there' has
already done this and will share their findings.

Geoff Berrow wrote:
> Message-ID: <1131536758.437017@athnrd02> from Jeff Paffett contained the
> following:
>
>
>>I maybe didn't express myself too well. I want to extract the color
>>information from the image file, using PHP/GD.
>
>
> I think you'd have to decide what you were looking for. Say you divided
> the spectrum into black, white, red, green, blue, cyan, magenta, and
> yellow.
> It would be possible to look at each pixel and determine which colour it
> was closest and then rank the colours in order of frequency. Whether
> that would help or not, I don't know.
>

 

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

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