As you showed that posting raw code is not ideal (you didn't copy the first line), I've fixed another problem with it and made it available to download from GimpScripts:
http://gimpscripts.com/2013/01/display-histogram-values/
Recent comments