Histogram based Image Analyzer for PHP