4 \page dcmftest Test if file uses DICOM part 10 format
6 \page dcmftest dcmftest: Test if file uses DICOM part 10 format
9 \section synopsis SYNOPSIS
15 \section description DESCRIPTION
17 The \b dcmftest utility checks whether the files specified on the command line
18 are DICOM files in part 10 format (with meta-header).
20 \section parameters PARAMETERS
23 dcmfile-in DICOM input filename to be dumped
28 All files specified on the command line are checked for the presence of the
29 DICOM "magic word" 'DICM' at byte position 128. No attempt is made to parse
30 the complete data set. For each file the test result is printed to \e stdout
31 in the form "yes: <filename>\n" or "no: <filename>\n". The utility terminates
32 with a return code corresponding to the number of files found to be non-DICOM,
33 i.e. if all files pass as DICOM files, the return value is 0. This behaviour
34 is intended for use in shell script programming.
36 \section see_also SEE ALSO
38 <b>dcmgpdir</b>(1), <b>dcmmkdir</b>(1)
40 \section copyright COPYRIGHT
42 Copyright (C) 1997-2010 by OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany.