ZhuangLab / storm-control

Microscope control software
Other
66 stars 68 forks source link

TIFF Tag issues #32

Closed tuncK closed 8 years ago

tuncK commented 8 years ago

TIFFReadDirectoryCheckOrder: Warning, Invalid TIFF directory; tags are not sorted in ascending order. TIFFFetchNormalTag: Warning, ASCII value for tag "ImageDescription" does not end in null byte.

1) Sorting the tags w.r.t. tag# helped us, i.e. Image description comes after PhotometricInterpretation 2) Would modifying line 66 help? self.imagej_desc = "ImageJ=1.49i\nunit=um\x00"

HazenBabcock commented 8 years ago

Thank you for the fix.

Which TIFF reader was complaining about this file?

At some point we would like to use Christopher Gohlkes tiffwriter instead. This would also allow us to write bigtiff files.

tuncK commented 8 years ago

It was libtiff.

Tunc Kayikcioglu All quantities in this e-mail and its attachments are in metric system, unless explicitly specified otherwise.

On 14 May 2016 at 18:43, Hazen Babcock notifications@github.com wrote:

Thank you for the fix.

Which TIFF reader was complaining about this file?

At some point we would like to use Christopher Gohlkes tiffwriter instead. This would also allow us to write bigtiff files.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ZhuangLab/storm-control/pull/32#issuecomment-219255676