I have a set of images that have been compressed by orthanc already.
When I try to use ImportDicomFiles.py to import the images into a different server, I get this error:
From script:
Importing OrthancStorage.original/3e/c4/3ec4505b-bb42-4f8b-aef8-fc5097cb8c45 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/b1/3eb1d5ca-82f9-4536-a4f4-34e0147dbee1 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/b1/3eb10a9a-da54-4bff-a2cc-7f2f251928d9 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/c1/3ec175f9-fc47-46e0-8746-c6ce93c42dcb => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/c1/3ec126be-5f74-43df-a6ca-2c303cc0e254 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/3c/3e3c0f20-fd9c-4112-995b-699b5a7520b5 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/3c/3e3c46ef-86be-459b-ae2c-bb3d0b099faf => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/3f/3e3f6a1e-057b-41e1-98e5-5834764138c6 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/f7/3ef78a89-f236-48c0-805c-b64132804879 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/fa/3efac67c-3114-4ec9-b45b-bfd96de1baf4 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/fa/3efa698c-50c7-4535-ac88-392554f0212c => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/fa/3efa9164-e12b-4662-9c41-7fa592635043 => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/fe/3efe183b-8eec-4cbe-b5b1-9945adc5fe7a => failure (Is it a DICOM file?)
Importing OrthancStorage.original/3e/00/3e005028-4e6e-423c-8b56-3989a392cd31 => failure (Is it a DICOM file?)
From Server:
E0310 23:33:58.686676 20211 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.702746 20212 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.755324 20213 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.767066 20214 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.835363 20215 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.848182 20216 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.910857 20217 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
E0310 23:33:58.979068 20218 MongooseServer.cpp:689] Exception in the HTTP handler: Bad file format
I have also tried to decompress the images using these methods: http://unix.stackexchange.com/questions/22834/how-to-uncompress-zlib-data-in-unix
Is there any way to import already compressed images into orthanc?