Project

General

Profile

Actions

Feature #229

closed

TIFF-LZW-Erkennung funktioniert nicht (auf Solaris 10)

Added by Marco Eichelberg over 20 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Module:
configure
Operating System:
Compiler:

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.

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF