Skip to content

Commit

Permalink
more gzip clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Jan 5, 2024
1 parent 1c9a4ff commit d8be251
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 463 deletions.
4 changes: 2 additions & 2 deletions library/dicom/dicom_parser.pas
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

Uses
SysUtils,
fsl_base, fsl_utilities, fsl_stream, fsl_fpc,
fsl_base, fsl_utilities, fsl_stream, fsl_fpc, fsl_gzip,
dicom_dictionary, dicom_objects, dicom_writer;


Expand Down Expand Up @@ -1569,7 +1569,7 @@ function TDicomInstanceDecoder.Execute: TDicomInstance;
SetLength(sComp, oInput.Size);
oInput.Position := 0;
oInput.Read(sComp[1], oInput.Size);
sDecomp := ZcompressBytes(sComp);
sDecomp := ungzip(sComp);
oInput.Position := 0;

oPDU := TDicomPDUDecoder.Create(oInput.Size);
Expand Down
Loading

0 comments on commit d8be251

Please sign in to comment.