Search found 1 match

by hkl
Fri, 2018-11-16, 10:56
Forum: DCMTK - General
Topic: Dcm2pdf sometimes creates corrupted pdf.
Replies: 2
Views: 8070

Dcm2pdf sometimes creates corrupted pdf.

Dcm2pdf sometimes incorrectly removes the last byte of the pdf. See dcm2pdf.cc line 315 and further: 315 /* strip pad byte at end of file, if there is one. The PDF format expects 316 * files to end with %%EOF followed by CR/LF. If the last character of the 317 * file is not a CR or LF, we assume it ...