Login  Register

file.openAsString error when opening big files in macro

Posted by Moritz Kirschmann on Jun 29, 2015; 9:30am
URL: http://imagej.273.s1.nabble.com/file-openAsString-error-when-opening-big-files-in-macro-tp5013340.html

Dear mailing list members,

 

I get an error when using file.openAsString to open a tiff file of 3.8 GB
running on win7. (I use it to extract metadata which is stored at the end of
the file.)

The error reads: "Error null in line XX".

With smaller files (800MB) it works like a charm. Also opening the 3.8GB
tiff file as an image just works.

 

On http://imagej.nih.gov/ij/notes.html  I found the info:

"1.47j 15 February 2013

[.]

The File.openAsString() macro function no longer has a file size limit."

 

Is there an implicit limit or is this a bug?

 

Thank you for your help in advance!

 

Best regards, Moritz

 


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html