2022.05.20 16:38 "[Tiff] libtiff v4.4.0 RC1 available", by Even Rouault

2022.05.20 17:56 "Re: [Tiff] libtiff v4.4.0 RC1 available", by Kurt Schwehr

Thanks Even!

I can't comment on the point release RC directly, but...

I've been using libtiff from head (with my own bazel based build system + my own mods to the generated headers) and have not heard any reports of trouble across the huge number of targets that use it.

The only issue I ran into was with https://freeimage.sourceforge.io/. Here is the patch I used. I only have one version of libtiff, so I didn't have to worry about making this an ifdef.

diff -ru a/files/Source/Metadata/XTIFF.cpp b/files/Source/Metadata/XTIFF.cpp
--- a/files/Source/Metadata/XTIFF.cpp 2022-05-18 06:56:41.578314458 -0700
+++ b/files/Source/Metadata/XTIFF.cpp 2022-05-18 12:51:56.674454816 -0700
@@ -749,7 +749,7 @@
  continue;
  }
  // type of storage may differ (e.g. rationnal array vs float array type)
- if((unsigned)_TIFFDataSize(tif_tag_type) !=
FreeImage_TagDataWidth(tag_type)) {
+ if((unsigned)TIFFFieldSetGetSize(fld) !=
FreeImage_TagDataWidth(tag_type)) {
  // skip tag or _TIFFmemcpy will fail
  continue;
  }

I've sent this to free image, so they can make a proper patch if they want:

https://sourceforge.net/p/freeimage/discussion/36109/thread/2018fdc6e7/#393d

-kurt