[Debian-med-packaging] Bug#823139: closed by Sebastien Jodogne <s.jodogne at gmail.com> (Bug#823139: fixed in orthanc 1.1.0+dfsg-1)
Karsten Hilbert
Karsten.Hilbert at gmx.net
Wed Jun 29 12:47:25 UTC 2016
On Mon, Jun 27, 2016 at 10:30:08PM +0000, Debian Bug Tracking System wrote:
> please compile and provide
> Samples/Tools/RecoverCompressedFile.cpp
> as
> /usr/sbin/orthanc-recover_compressed_file
...
> If /usr/sbin/orthanc-recover_compressed_file were available I
> could provide helper scripts upgrading the database.
For the time being attached find a shell script which makes
using /usr/bin/OrthancCompressedFile a lot more convenient
(given exiftool and dicom3tools are installed).
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
-------------- next part --------------
#!/bin/bash
DCMFILE="$1"
LOG=${DCMFILE}.log
OrthancRecoverCompressedFile ${DCMFILE} ${DCMFILE}.uncompressed &> ${LOG}
RESULT=$?
if [ $RESULT -ne 0 ] ; then
echo "cannot uncompress ${DCMFILE}"
echo "--- file" &>> ${LOG}
file ${DCMFILE} &>> ${LOG}
echo "--- dciodvfy" &>> ${LOG}
dciodvfy -filename ${DCMFILE} &>> ${LOG}
echo "--- dcentvfy" &>> ${LOG}
dcentvfy -veryverbose ${DCMFILE} &>> ${LOG}
echo "--- exiftool" &>> ${LOG}
exiftool ${DCMFILE} &>> ${LOG}
echo "------------------------------------------------------------------"
less ${LOG}
fi
exit ${RESULT}
More information about the Debian-med-packaging
mailing list