Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto whitebalance from command line
#1
GIMPs Color->Auto->Whitebalance tool does more or less exactly what I want. But I want to run it on a single image from command line but it doesn't seems to be that easy.

There are many SCM scripts out there that does some sort of white balance but not using this menu item directly like this Luca De Alpharo's white balance script linked from this post https://www.gimp-forum.net/Thread-White-...te+balance

In the GIMP source code I can see that histograms are extracted for each RGB channel for Color->Auto->Whitebalance and but in the SCM above there is no histogram extraction and the same applies for a few other white balance scripts I've found.

How can I run GIMP Color->Auto->Whitebalance from the command line (without user interaction) or at least something very similar?
ilar?

GIMP 2.8 Ubuntu 16.04
Reply
#2
Luca de Alfaro's script takes one color and modifies the color levels to shift this color to neutral gray (R=G=B).

AFAIK there is no API for the auto-white balance in Gimp.
Reply
#3
Thank you ofnuts for your reply even if it wasn't what I hoped for.
Reply


Forum Jump: