RSS/Atom feed Twitter
Site is read-only, email is disabled

howto obtain level information

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

howto obtain level information Jan Wuerthner 21 Jul 13:33
  howto obtain level information saulgoode@brickfilms.com 21 Jul 17:05
Jan Wuerthner
2006-07-21 13:33:09 UTC (almost 18 years ago)

howto obtain level information

hello,

I am looking for a way to write something similar to the "plug_in_normalize" function by scripting: For some reason the normalize function doesn't stretch the levels the way I expect, often there is still a large area of unused color values (I assume there may be very small values not shown in the histogram).

Anyway, I have seen there is a function "gimp_levels" I can use to set the values. Now I need something like "gimp_get_levels" to determine the values I want to set. I haven't found anything to get the levels information from a drawable. Can anyone help me?

Thank you, kind regards Jan Würthner

saulgoode@brickfilms.com
2006-07-21 17:05:38 UTC (almost 18 years ago)

howto obtain level information

The PDB function "gimp-histogram" is that which you seek.

Quoting Jan Wuerthner :

Anyway, I have seen there is a function "gimp_levels" I can use to set the values. Now I need something like "gimp_get_levels" to determine the values I want to set. I haven't found anything to get the levels information from a drawable. Can anyone help me?