Re: saving in tiff problem
Posted by
Wayne Rasband on
Feb 22, 2006; 8:13pm
URL: http://imagej.273.s1.nabble.com/Re-ImageJ-hangs-tp3703621p3703624.html
ImageJ 1.35r, due next week, will be able to save stacks larger than
2GB in TIFF format. It will also save stacks larger than 4GB but only
ImageJ will be able to open them since the TIFF standard does not
support files greater than 4GB.
-wayne
> 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
>