It this tutorial I how you how to write a script to import GIMP gradient .ggr files.
11:16 First pass script
29:31 Optimize Knots
39:30 Fix Interpolation
50:40 How to handle the alpha channel
53:32 Adding Edit Alpha
Cinema 4D Python documentation:
https://developers.maxon.net/docs/Cin...
CPT CITY, gradient resource:
http://soliton.vm.bytemark.co.uk/pub/...
You can download or copy the the source code for my script from Gumroad here:
https://gumroad.com/l/LoadGimpGradient