<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Mathieu.<br>
<br>
I give up !<br>
The header is just a mess :-(<br>
Have a look a the output of hexedit vs the output of PrintFile/<br>
gdcm Parser does the job correctly.<br>
The problem comes from the header is *not* correct at all.<br>
The supposed to be DataElement <tt><font color="#ff0000"><b>5ae4|707d<font
color="#330033"> </font></b></font></tt><font color="#ff0000"><font
color="#330033">has *no* Explicit VR, therefore its length *is* </font></font>x(3f75d754).<br>
It looks like a part of the header vanished at write time ...<br>
Could you tell it to David Clunie.<br>
Thx<br>
JP<br>
<br>
<tt>D 0002|0000 lg : x(4) 4 Off.: x(8c) 140
[UL] [Group Length] [170]<br>
D 0002|0001 lg : x(2) 2 Off.: x(9c) 156
[OB] [File Meta Information Version] [gdcm::Binary data
loaded;length = 2]<br>
D 0002|0002 lg : x(1e) 30 Off.: x(a6) 166
[UI] [Media Storage SOP Class UID]
[1.2.840.10008.5.1.4.1.1.9.2.1 ] ==> [Hemodynamic Waveform
Storage]<br>
D 0002|0003 lg : x(14) 20 Off.: x(cc) 204
[UI] [Media Storage SOP Instance UID] [1.3.6.1.4.1.6018.1.1]<br>
D 0002|0010 lg : x(16) 22 Off.: x(e8) 232
[UI] [Transfer Syntax UID] [1.2.840.10008.1.2.1.99]
==> [Deflated Explicit VR - Little Endian]<br>
D 0002|0012 lg : x(12) 18 Off.: x(106) 262 [UI
[Implementation Class UID] [1.3.6.1.4.1.5962.2]<br>
D 0002|0013 lg : x(a) 10 Off.: x(120) 288
[SH] [Implementation Version Name] [DCTOOL100 ]<br>
D 0002|0016 lg : x(8) 8 Off.: x(132) 306
[AE] [Source Application Entity Title] [CLUNIE1 ]<br>
D <font color="#ff0000"><b>5ae4|707d</b></font> lg : x(3f75d754)
1064687444 Off.: x(142) 322 [ ]
[gdcm::Unknown] [gdcm::NotLoaded]<br>
</tt><br>
<tt>00000080 44 49 43 4D 02 00 00 00 55 4C 04 00 AA 00 00 00
DICM....UL......<br>
00000090 02 00 01 00 4F 42 00 00 02 00 00 00 00 01 02 00
....OB..........<br>
000000A0 02 00 55 49 1E 00 31 2E 32 2E 38 34 30 2E 31 30
..UI..1.2.840.10<br>
000000B0 30 30 38 2E 35 2E 31 2E 34 2E 31 2E 31 2E 39 2E
008.5.1.4.1.1.9.<br>
000000C0 32 2E 31 00 02 00 03 00 55 49 14 00 31 2E 33 2E
2.1.....UI..1.3.<br>
000000D0 36 2E 31 2E 34 2E 31 2E 36 30 31 38 2E 31 2E 31
6.1.4.1.6018.1.1<br>
000000E0 02 00 10 00 55 49 16 00 31 2E 32 2E 38 34 30 2E
....UI..1.2.840.<br>
000000F0 31 30 30 30 38 2E 31 2E 32 2E 31 2E 39 39 02 00
10008.1.2.1.99..<br>
00000100 12 00 55 49 12 00 31 2E 33 2E 36 2E 31 2E 34 2E
..UI..1.3.6.1.4.<br>
00000110 31 2E 35 39 36 32 2E 32 02 00 13 00 53 48 0A 00
1.5962.2....SH..<br>
00000120 44 43 54 4F 4F 4C 31 30 30 20 02 00 16 00 41 45
DCTOOL100 ....AE<br>
00000130 08 00 43 4C 55 4E 49 45 31 20 <font color="#cc6600"><b>E4
5A 7D 70</b></font> 54 D7 ..CLUNIE1 .Z}pT.<br>
00000140 75 3F FB B4 88 F5 46 96 17 81 65 45 C6 F8 45 26
u?....F...eE..E&<br>
00000150 84 61 CC 76 B5 FA 40 50 E2 41 48 02 44 85 A4 48
.a.v..@P.AH.D..H<br>
00000160 8B 62 33 1E 82 30 F2 80 07 63 55 96 3D 1E 9A 50
.b3..0...cU.=..P</tt><br>
<tt>00000170 DB CD 87 43 1C 86 A1 AE ED F1 10 17 63 EA 3A D8
...C........c.:.<br>
00000180 25 84 52 E2 32 C4 A5 0C 65 18 A2 51 55 57 C1 84
%.R.2...e..QUW..<br>
00000190 60 82 55 55 96 65 59 56 D7 62 59 8B D5 3B FD 9D
`.UU.eYV.bY..;..<br>
000001A0 F3 DE 4A FB 56 72 CB DF 81 9D A7 7D EF F7 CE 3D
..J.Vr.....}...=<br>
000001B0 F7 DC F3 75 CF 3D 8B 8F 72 A8 B2 DC 47 E1 50 28
...u.=..r...G.P(<br>
000001C0 54 18 0A 15 F9 68 26 45 D6 64 52 61 69 49 49 E1
T....h&E.dRaiII.<br>
000001D0 62 1F E5 D2 DA EA 39 54 18 0C 07 CB 8A 43 41 50
b.....9T.....CAP<br>
000001E0 84 CA 82 25 C1 C2 60 31 AE C2 E0 62 E0 85 E4 A3
...%..`1...b....<br>
000001F0 3C 50 E5 82 AA 28 58 EA BC 2B 0D 15 96 E1 71 F1
<P...(X..+....q.<br>
00000200 62 F0 30 75 86 42 DC 17 86 C3 98 E1 9E B4 E7 AF
b.0u.B..........<br>
00000210 A7 3D 2F A0 CA 48 F6 F8 33 E6 5C 14 02 97 90 2D
.=/..H..3.\....-</tt><br>
<br>
<br>
<br>
</body>
</html>