Feature #229
closedTIFF-LZW-Erkennung funktioniert nicht (auf Solaris 10)
100%
Description
configure auf Solaris 10 glaubt fälschlicherweise, TIFF-LZW würde funktionieren,
weil die libtiff nur eine Warnung ausgibt und ein unkomprimiertes Bild schreibt,
aber keinen Fehler zurückliefert. Grind. Man wird hier wohl auch die Warnung
irgendwie auswerten müssen, ggf. über Shell-Code, der in stderr oder stdout
sucht. Alternative: Größe der Bilddatei im Testprogramm überprüfen, Fehler
generieren, wenn Bild zu groß, um komprimiert zu sein.
Updated by Marco Eichelberg over 8 years ago
- Description updated (diff)
The last patent affecting the LZW compression algorithm has expired in 2004. Therefore, there is no reason anymore to ship a libtiff without LZW support (which was optional only because of the patent issue). Therefore, the test for LZW support in libtiff is obsolete and should be removed.
Updated by Marco Eichelberg almost 7 years ago
Apparently all libtiff versions starting with 3.7.0 have LZW support re-enabled by default, since they were published after the expiry of the LZW patents. DCMTK requires libtiff 3.7.4 or newer, so there is no need for an LZW test anyway.
Updated by Marco Eichelberg almost 7 years ago
- Status changed from New to Closed
- Assignee set to Marco Eichelberg
- % Done changed from 0 to 100
Closed by commit #9a3d2875a on 2018-12-12.