|
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]
|