Login  Register

TIFF encoder problems

Posted by Unruh, Jay-2 on Apr 27, 2009; 7:46pm
URL: http://imagej.273.s1.nabble.com/TIFF-encoder-problems-tp3692760.html

Dear ImageJ community,

I noticed that the TIFF encoder for ImageJ defines fieldtype for the image height parameter as short.  I have been working with some long line scan data sets and reading them in as tiff.  Unfortunately, when I resave the data, the height parameter gets trucated to the first word of the actual height.  The data is still there, but upon rereading the data, it is truncated.  Does anyone know if this can be fixed or if there is another tiff encoder plugin that I can use?  For now I have simply changed the fieldType to 4 (long) in TiffEncoder.java and recompiled ImageJ.  Is there a problem with doing this?

Jay Unruh
Research Specialist
Stowers Institute for Medical Research