<?php
array public Imagick::getImageHistogram();
?>
<?php
// Result of this exercise is long
$path = PATH2IMGW . '/psd/15.psd';
$img = new Imagick($path);
$data = $img->getImageBlob();
$arr1 = $img->getImageHistogram();
echo '<pre>';
var_dump($arr1);
echo '</pre>';
?>