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
0.00000
0.00122
…
1.00000