From 196690fe54edc1ff6976cfd1952aa93674015a44 Mon Sep 17 00:00:00 2001 From: malaterre Date: Thu, 14 Oct 2004 05:15:44 +0000 Subject: [PATCH 1/1] ENH: update comments for ijg patching --- src/jpeg/libijg/README.GDCM.txt | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/src/jpeg/libijg/README.GDCM.txt b/src/jpeg/libijg/README.GDCM.txt index b1c44238..9f29e692 100644 --- a/src/jpeg/libijg/README.GDCM.txt +++ b/src/jpeg/libijg/README.GDCM.txt @@ -68,16 +68,36 @@ diff -u -3 -p -r1.4 jmorecfg.h 4. -To further allow us to have to different copy of the 8bits and 12bits jpeg +To further allow us to have to different copy of the 8, 12 and 16 bits jpeg library we had to mangle the name. Fur this purpose two new file were added to -the library: gdcm_mangle_8bits.h and gdcm_mangle_12bits.h. Those file were -generated using: +the library: gdcm_mangle_8bits.h, gdcm_mangle_12bits.h and gdcm_mangle_16bits.h. +Those file were generated using: - nm libgdcmijpeg8.a | grep " T " | colrm 1 11 | sort + nm libgdcmijpeg8.a | grep " [R|T] " | colrm 1 11 | sort 5. -In order to read lossless images, we had to apply the ls-patch to jpeg-6b ... to be continued +In order to read lossless images, we had to apply the ls-patch to jpeg-6b. So I started from scratch: +tar xvfz /tmp/jpegsrc.v6b.tar.gz (1) +patch < /tmp/ljpeg-6b.patch (2) +patch -p0 < arithmetic-without-arith-option-full.patch (3) +patch -p0 < warnings10-14.patch (4) +patch -p0 < previous-gdcm.patch (5) +----------------------------------------------------------- += The subdir src/jpeg/libijg -(shoud we disalbe getenv just as dcmtk ? +(now I also need to apply the redhat patch for cplusplus lib) + +(1) http://www.ijg.org/files/jpegsrc.v6b.tar.gz +(2) http://www.oceana.com/ftp/ljpeg/ljpeg-patch.v6b.tar.gz +(3), (4) and (5) http://www.creatis.insa-lyon.fr/~malaterre/jpeg/ + +(3) Was made with a carefull inspection of dcmtk code (see convert.sh at the same spot as the patch) +(4) Is basically just compilation of the lib with -W -Wall -Werror +(5) This contains some configuration copy/paste from VTK, and the 'well known' 12 bits Philips MRI DICOM patch + + + +NOTE for later: +(shoud we disable getenv just as dcmtk ? there is a ijg flag for that NO_ENV or something similar -- 2.45.1