You are here: Re: Histogram data for a GIF in PHP « PHP Language « IT news, forums, messages
Re: Histogram data for a GIF in PHP

Posted by firewoodtim on 01/09/06 00:11

I just want the histogram _data_. I'm not actually trying to create a
histogram graph itself. That is, I need an array of pixel count and
color code for each color in a GIF. The data will be used for other
purposes than building an actual graph of the color distribution.

JPGraph is designed to chart a distribution, once you have the data
for the chart. I need a way to get the raw data.

On Sun, 08 Jan 2006 21:55:05 GMT, Colin McKinnon
<colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com> wrote:

>firewoodtim wrote:
>
>> I want to get histogram data for a GIF image using PHP. Does anyone
>> have a suggestion for how to do this? I have looked through the PHP
>> documentation, the GD image library and ImageMagick and found nothing
>> that is devoted to that single, basic task.
>
>For a horizontal histogram, use nested tables.
>
>For anything more comple, JPGraph.
>
>C.

 

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

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