I am processing some images that I want later to process with perl as text files.
I have written the data into a matrix (I have an RGB matrix, a XYZ matrix and a CIE Lab matrix), and I use the jit.fprint to print said matrices into the corresponding files.
The problem is that it uses the line-break character instead of the new-line character to separate the different rows or lines. This is a problem as usually all programming languages rely on the new-line character.
I see that jit.fprint has a behaviour attribute called rowdelim (row delimiter) which by default is set to cr (line-break I presume). My question is: how do I configure this behaviour in order for it to write proper end-line characters? I see no information about this on the reference, and I have tried unsuccessfully several combinations that don’t work (nl is not even accepted).
Maybe there are other ways to do what I need using other objects instead of jit.fprint.