Actions
Feature #1036
openimg2dcm should support an "auto" option for the input format
Status:
New
Priority:
Normal
Assignee:
-
Category:
Library and Apps
Target version:
-
Start date:
2022-10-05
Due date:
% Done:
0%
Estimated time:
Module:
dcmdata
Operating System:
Compiler:
Description
The tool img2dcm should support an "auto" option for the input format, e.g. "--input-format AUTO" (or "... auto"). This automatic detection could either work based on the filename extension of the input file or by detecting the format based on magic words, markers or some heuristics (see Unix "file" command).
It would probably also make sense to use this new "auto" option as the default (instead of "--input-format JPEG" as it is now).
Actions