You are here: How can I get GIF histogram data using PHP? « PHP Programming Language « IT news, forums, messages
How can I get GIF histogram data using PHP?

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]


Удаленная работа для программистов  •  Как заработать на 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

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