1 | initial version |
For more complex image processing techniques, it could be worthwhile to dig into the source code of Gimp to replicate / translate the function into another programming langage or library.
Starting by the documentation and the Github search bar, you should find:
Also, if you are a Gimp fan, I recommend the G'MIC Gimp plugin that adds tons of image processing operations to Gimp (source code and C++ API).