Sign in
RadiAnt DICOM Viewer - Discussion Forum
Zipped DICOM files

Sep 29, 2015 07:29 AM
by Stefan Ritter
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:35 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 30, 2015 02:36 PM
by RadiAnt
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
Oct 1, 2015 10:55 AM
by Guest
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
Post reply
Author (first name or pseudonym):

Message:

Captcha image


Visitors can post messages on the forum without having to register. Please input your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please ensure you write your posts in English so that our international audience can understand and reply to your message.

The Administrator reserves the right to remove any messages that violate our forum rules; for example, those that are not related to the RadiAnt DICOM Viewer software, published in a language other than English, contravene regulations, etc.