newline row delimiter

Nov 19, 2013 at 12:17pm

newline row delimiter

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.

thanks for any help

Nov 19, 2013 at 12:49pm

[text] is no good?

Nov 19, 2013 at 12:57pm

Hi Roman,

I don’t understand …


You must be logged in to reply to this topic.