Inspects the file header for the standard 128-byte preamble + "DICM" magic
bytes or valid initial DICOM group/element tags.
Examples
dcm_file <- system.file("extdata", "example.dcm", package = "dicomtk")
is_dicom(dcm_file)
#> [1] TRUE
Inspects the file header for the standard 128-byte preamble + "DICM" magic
bytes or valid initial DICOM group/element tags.
dcm_file <- system.file("extdata", "example.dcm", package = "dicomtk")
is_dicom(dcm_file)
#> [1] TRUE