2012.07.04 12:36 "[Tiff] How to set the "physical size" of an image when writing a Tiff file?", by Simon Ochsenreither
2012.07.04 16:10 "Re: [Tiff] How to set the "physical size" of an image when writing a Tiff file?", by Simon Ochsenreither
Hi Olivier,
thanks for your kind reply.
There is no "physical size" tag that I'm aware of. What TIFF files store is the size in pixels as well as the resolution in pixels/"some unit". The physical size can be computed from these values. What you're using to view the tags obviously does some interpretation so I can't tell exactly what is missing (the output of tiffinfo would be more useful).
The snippet I pasted into the mail was from ImageJ, I'll try tiffinfo in a minute!
It looks like some or all of these tags are missing or invalid for the images:
TIFFTAG_XRESOLUTION
TIFFTAG_YRESOLUTION
TIFFTAG_RESOLUTIONUNIT
Thanks a lot! I'll look into that.
Bye,
Simon