Project

General

Profile

Actions

Feature #853

open

Make IJG JPEG library accessible to DCMTK users by installing the header files

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
-
Start date:
2018-11-19
Due date:
% Done:

0%

Estimated time:
Module:
dcmjpeg
Operating System:
Compiler:

Description

DCMTK internally uses the Independent JPEG Group library with the lossless patch to perform JPEG encoding and decoding.
Apparently some external developers would like to use this library directly, not just the DCMTK wrapper that actively hides the IJG API.
This would simply require us to install the IJG header files when running "make install" since the libraries get installed anyway.
For this purpose, the header files should perhaps be moved into a separate directory, so that they could be used
for example like this: #include "dcmtk/dcmjpeg/ijg/jpeglib12.h"

Actions #1

Updated by Michael Onken almost 7 years ago

Here are all options orginally proposed by the submitter:

- Convince you to not to bundle the library but refer to some public source.
- Convince the developers to fix the bad applications. Not going well so far.
- Convince you to to hide the symbols, break the bad applications and force them to get fixed. (Or, the worse case, they will stay with that
old version.)
- Patch everything myself, maintain the forks, backport to new versions. Doable once but not sustainable long-term.
- Find a different way to replace the library.
- Convince you to publish the headers.

Regarding the wrapping options, he added:

I might be spoiled into laziness to just make thin
unique wrapper for each non-unique static library, link wrapper and the
library with "-Wl,-exclude-libs,ALL" and use the wrappers freely without
fear of clashes.

... which would also be worth a try.

Actions #2

Updated by Michael Onken over 5 years ago

  • Target version deleted (3.6.6)
Actions

Also available in: Atom PDF