An easy way to transcribe 1DLUT .cube to dcamprof json?

I’d like to find a fast and easy way to reformat 1D Lut .cube files into other formats, like DCamProf Json. I don’t have any experience with coding or scripting languages and I’ve been going through a really cumbersome process of pasting to Apple Numbers (like Excel), adding formulas that convert the data and tack on parenthesis, reformatting, exporting to CSV and then using find/replace to get all the spacing and syntax correct for json…

So, basically what I want to do is translate a text file that looks like this into dcamprof’s json. Any ideas?

1D_LUT_size 16384


Hi @NateWeatherly,

Some info here:

Have fun!
Claes in Lund, Sweden