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

Call Auto White Balance example needed...

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.

Call Auto White Balance example needed... Durumdara 12 Jan 13:01
  Call Auto White Balance example needed... saulgoode@flashingtwelve.brickfilms.com 12 Jan 19:29
Durumdara
2009-01-12 13:01:59 UTC (about 16 years ago)

Call Auto White Balance example needed...

Hi!
If I saw good, the Automatic White Balance function uses "gimp-color-balance".

But I don't know, how to parameterize to get same effect that the GIMP do when I clicking to the Menu.

Or is it not a constant value (it is recalculated by GIMP before function calling)?

Please help me, I need only this to finish my script totally.

If it is not possible because of dynamic parameters, I need to use XNView: but I don't know, which function similar...

Thanks for it: dd

saulgoode@flashingtwelve.brickfilms.com
2009-01-12 19:29:57 UTC (about 16 years ago)

Call Auto White Balance example needed...

Quoting Durumdara :

If I saw good, the Automatic White Balance function uses "gimp-color-balance".

GIMP's Auto White Balance menu command performs the same operation as clicking on the AUTO button in the "Colors->Levels" dialog. It sets the "black point" (lower threshold) and "white point" (the upper threshold) of each of the red, green, and blue channels (separately) based on that channel's histogram.

But I don't know, how to parameterize to get same effect that the GIMP do when I clicking to the Menu.

Use the PDB function 'gimp-levels-stretch'. To my knowledge, it is precisely equivalent to the menu's Auto White Balance function.