]> Creatis software - gdcm.git/commitdiff
ENH: update comments for ijg patching
authormalaterre <malaterre>
Thu, 14 Oct 2004 05:15:44 +0000 (05:15 +0000)
committermalaterre <malaterre>
Thu, 14 Oct 2004 05:15:44 +0000 (05:15 +0000)
src/jpeg/libijg/README.GDCM.txt

index b1c4423857bc9c86099952166d8541e4e265eb78..9f29e692a50fb61a4ca99e859de39bf8bcda9064 100644 (file)
@@ -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