2002.10.31 09:59 "Need a help about TIFF Class F type files resolution...", by Lyubomir Pashov

2002.10.31 14:57 "Re: Need a help about TIFF Class F type files resolution...", by Steven Luke

Hello Mr. Pashov,

ImageJ is a Java program that works with Tiffs very well, although it works with images, not faxes, I would imagine the process would be similar.

ImageJ's source can be found at: http://rsb.info.nih.gov/ij/developer/source/index.html

Browse to the ij.io.TiffDecoder and TiffEncoder classes and see how ImageJ reads and writes the X_RESOLUTION, Y_RESOLUTION and RESOLUTION_UNIT (tag numbers 282, 283, and 296 respectively). I think this should be a good way of reading and writing TIFFs in Java. You would just have to make the changes that would be specific for your application.

I hope you find this useful

Steven Luke

(I have nothing to do with ImageJ except being a happy user who also believes it is a great tool for learning imaging in Java)

Steven J. Luke
Kimmel Cancer Center Bioimaging Facility
Thomas Jefferson University
Philadelphia, Pennsylvania