This script tries to overcome the ridiculously small font on the Histogram window by grabbing the values and sending them to the Error Console.
This script tries to overcome the ridiculously small font on the Histogram window by grabbing the values and sending them to the Error Console.
| Author: | paynekj |
| Platforms: | Windows XP, Windows Vista, Windows 7, Linux, Mac OS X |
| Requirements: | Gimp 2.8.x, Gimp 2.6.x |
| Category: | Utilities |
| License: | GNU General Public License |
| Website: | Visit Website |
| Menu Location: | contributed/Histogram values |
| Date: | January 8, 2013 |
Posted by paynekj in Script-Fu, Scripts & Plug-ins | Trackback URL
Tagged: GIMP 2.6, GIMP 2.8, paynekj, Script-Fu, Utility
January 9, 2013 at 3:20 pm -
Thank you so much. This script it great but I need (if possible) a few modifications:
1.Remove the file name from the list.
2.Display ONLY the pixel number (without the word pixel) and without all the rest of the data.
3.Display the number without the decimals.
Thank you.
January 11, 2013 at 4:25 am -
I’m not going to modify the script as I think it’s more generally useful as it is.
I will show you how to modify your copy to do what you want.
Open the file in a text editor and find the line
(gimp-message (string-append (car (gimp-image-get-filename Image)) "\nMean: " mean_value
"\nStandard Deviation: " std_dev_value "\nMedian: " median_value "\nPixels: " pixels
"\nCount: " count "\nPercentile: " percentile))
Change it to
(gimp-message pixels)As you say you are pasting the number into Excel, I suggest you remove any decimals using the formatting in Excel.
January 11, 2013 at 11:26 am -
Thank you very very much. This is very helpful.
April 25, 2013 at 7:41 pm -
Thanks for this.
That text IS tiny.
For your output to match the GUI display, the percentile values should be multiplied by 100.