RadiAnt DICOM Viewer - Discussion Forum
Zipped DICOM files

Hi,

---

$ dcmdump IM000001
E: DcmElement: Unknown Tag & Data (4b50,0403) larger (524308) than remaining bytes in file
E: dcmdump: I/O suspension or premature end of stream: reading file: IM000001

$ unzip IM000001
Archive: IM000001
inflating: _828114

$ dcmdump _828114 | head -n 2

# Dicom-File-Format

---

is there a way to view "zipped" DICOM files or is that something off standard stuff?

Best regards
Stefan


Sep 29, 2015 07:29 AM
by Stefan Ritter
I find out that the file opens when I rename it to $filename.zip. Unfortunately we get CDs with files without the zip ending. Maybe you can do some magic byte sorcery? ;)


Sep 29, 2015 07:35 AM
by Stefan Ritter
Stefan,

We will explore the possibilities of improving the ZIP reading experience in RadiAnt.
Currently you could use a batch script to unzip all files from the CD to a temporary folder and then open this folder in RadiAnt using command line parameters: http://www.radiantviewer.com/dicom-viewer-manual/command-line_arguments.htm

Greetings,
Maciej


Sep 30, 2015 02:36 PM
by RadiAnt
I already did, but for Bash.

#!/bin/bash
mkdir UNZIP # inside DICOM folder
count=1
find -type f | while read line; do
mkdir UNZIP/$count/ # in case of same filenames in zip files
unzip $line -d UNZIP/$count/
count=$((count+1))
done


Oct 1, 2015 10:55 AM
by Guest
Post reply

Author (first name or pseudonym):


Message:


You have to accept cookies to be able to post messages.
Messages can be posted on the forum without registration. Please use your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please use English language when posting so that our international audience can understand and reply to your message.

Administrator reserves the right to remove any message (not related to the RadiAnt DICOM Viewer software, published in a language other than English, violating regulations, etc.).