Login  Register

saving in tiff problem

Posted by MESSAOUDI Cédric on Feb 20, 2006; 3:07pm
URL: http://imagej.273.s1.nabble.com/Re-ImageJ-hangs-tp3703621p3703623.html

Hi,


I have a problem with ImageJ when saving very large stack (1024*1024*700 32
bits real).

When I save these images in ImageJ with the command "File>save as" there is
no problem.
When I save in one of my plugins using a FileSaver and the function
saveAsTiffStack(path) there is a problem. I can't open the file after
because of "negative seek offset"

When looking inside TiffEncoder it seems that the stackSize
(1024*1024*700*4) is bigger than the maximum value of an int and then
"loops" to negative value.

Is there a possibility to correct this problem in TiffEncoder?
Which function is called when saving with the menu in ImageJ?

Thanks
Cédric