12-02-2022, 07:12 PM
(This post was last modified: 12-02-2022, 07:17 PM by James Parkinson.)
(12-02-2022, 06:16 PM)Ofnuts Wrote: Why do you need to write it since it is already written? Or you need to reproduce it? As far as I can tell the core is (gimp-drawable-color-balance drawable transfer-mode preserve-lum cyan-red magenta-green yellow-blue) with some heuristics (possibly using (gimp-drawable-histogram drawable channel start-range end-range) on each RGB channel) to determine how to change the color balance.
Much thanks for sharing your knowledge.
I was needing to process batches of photos. The GIMP interactive is too slow.
The Colors-Auto-White Balance is not understood by myself. You have an understanding of what Auto-White Balance in detail is doing, which I don't possess.
If convinent please breakdown your script and explain its parts.