|
Posted by firewoodtim on 01/08/06 20:53
I want to analyze a GIF file and retrieve the histogram data on the
image (pixel quantity and color symbol for each color in the file.)
Does anyone know how to use PHP to do this? I've looked through the
PHP documentation, the GD image library, and the ImageMagick
command-line imaging system and found very little that I could use.
The best thing I've found so far is an "identify -verbose" command
from ImageMagick that gives the data I need, mixed in with a heap of
other information about the GIF image. If I use that and the IM folks
change their report format, it will break my script to extract the
information. I need a function or script designed to generate only
histogram data directly from the GIF file.
Navigation:
[Reply to this message]
|