Error using "dcmmkdir"

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
ManfredLS
Posts: 2
Joined: Mon, 2020-12-21, 09:08

Error using "dcmmkdir"

#1 Post by ManfredLS » Mon, 2021-02-22, 13:33

Hello everybody, I apologize for my ignorance but I am still learning DCMTK.
I was trying to create a dicomdir from dicom files with the command " dcmmkdir +r -d IMAGES " ma but i get the error " E: LittleEndianExplicit expected but LittleEndianImplicit found: IMAGES/IM7 ".
How can i convert from Implicit to Explicit?

Michael Onken
DCMTK Developer
Posts: 1805
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Error using "dcmmkdir"

#2 Post by Michael Onken » Mon, 2021-02-22, 14:06

Hi,

Code: Select all

dcmconv +te implicit.dcm explicit.dcm
should do the trick for a single file. For all files in a directory (or even recursive directories) you would need to do this for each file or write a script that does the work for you.

Best regards,
Michael

ManfredLS
Posts: 2
Joined: Mon, 2020-12-21, 09:08

Re: Error using "dcmmkdir"

#3 Post by ManfredLS » Mon, 2021-02-22, 17:07

Thank you very much!

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest