Error using "dcmmkdir"

All other questions regarding DCMTK

Moderator: Moderator Team

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

Error using "dcmmkdir"

#1 Post by ManfredLS »

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: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Error using "dcmmkdir"

#2 Post by Michael Onken »

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: 4
Joined: Mon, 2020-12-21, 09:08

Re: Error using "dcmmkdir"

#3 Post by ManfredLS »

Thank you very much!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest