.TH "dcmftest" 1 "Fri Apr 22 2022" "Version 3.6.7" "OFFIS DCMTK" \" -*- nroff -*- .nh .SH NAME dcmftest \- Test if file uses DICOM part 10 format .SH "SYNOPSIS" .PP .PP .nf dcmftest file... .fi .PP .SH "DESCRIPTION" .PP The \fBdcmftest\fP utility checks whether the files specified on the command line are DICOM files in part 10 format (with meta-header)\&. .SH "PARAMETERS" .PP .PP .nf dcmfile-in DICOM input filename to be dumped .fi .PP .SH "NOTES" .PP All files specified on the command line are checked for the presence of the DICOM 'magic word' 'DICM' at byte position 128\&. No attempt is made to parse the complete data set\&. For each file the test result is printed to \fIstdout\fP in the form 'yes: \\n' or 'no: \\n'\&. The utility terminates with a return code corresponding to the number of files found to be non-DICOM, i\&.e\&. if all files pass as DICOM files, the return value is 0\&. This behavior is intended for use in shell script programming\&. .SH "SEE ALSO" .PP \fBdcmgpdir\fP(1), \fBdcmmkdir\fP(1) .SH "COPYRIGHT" .PP Copyright (C) 1997-2022 by OFFIS e\&.V\&., Escherweg 2, 26121 Oldenburg, Germany\&.