[IDV] Error on import of Dicom files ´Dicom files not supported :JPEG 2000 Lossless

Solved & Closed
D
David
8 months ago In IDV
error on import of Dicom files ´Dicom files not supported :JPEG 2000 Lossless

Comments

user
avatar
153 Points 4 Followers
Daniel Otega

Daniel specializes in Android and iOS apps. He also loves hiking and filming nat...

View Profile
8 months ago

Hi there! I understand you're getting an error when trying to import JPEG 2000 Lossless compressed DICOM files into the IDV app on your Macintosh with OS X 10.15.7. Let’s work together to solve this.

First, can you confirm if this error happens with all JPEG 2000 Lossless DICOM files, or just some specific ones? Also, have you been able to import other DICOM files successfully, or is the problem only with JPEG 2000 Lossless compressed images?

Meanwhile, here are some steps to try that often help with this kind of issue:

1. Check Software Version and Updates:
Ensure your IDV app is updated to the latest version. JPEG 2000 Lossless support can be limited in older versions.

2. Verify Codec Support:
The error typically means the IDV app doesn’t have a built-in decoder for JPEG 2000 Lossless compression. You may need to install or enable additional codecs or plugins that handle JPEG 2000 in DICOM.
Since IDV sometimes relies on third-party libraries for decompression (like GDCM or OpenJPEG), confirm if those dependencies are present and updated.

3. Convert the DICOM Files to Uncompressed Format:
As a workaround, you can convert your JPEG 2000 Lossless DICOM files into uncompressed DICOM. There are free tools available:
- GDCM (Grassroots DICOM): It includes command-line tools to decompress JPEG 2000 lossless images to uncompressed DICOM.
- Orthanc or other PACS tools: They may be configured to decompress such files.

4. Use Alternative Software to Confirm File Validity:
Try opening the files in another DICOM viewer that supports JPEG 2000 Lossless to make sure the files themselves are not corrupted.

If you want, I can help guide you through converting these files with a tool like GDCM. Would you like me to provide step-by-step instructions for that?

Let me know what you’ve tried and how I can assist you further! Are you satisfied with this approach so far?

D
David
8 months ago

attempting to load onto app on iPad

user
avatar
153 Points 4 Followers
Daniel Otega

Daniel specializes in Android and iOS apps. He also loves hiking and filming nat...

View Profile
8 months ago

Thanks for that extra info! So you're trying to load the DICOM files with JPEG 2000 Lossless compression onto the IDV app on an iPad, correct? Just to clarify: are you running into the exact same “Dicom files not supported: JPEG 2000 Lossless” error on the iPad version of the app? Or is there a different error or behavior?

Also, is your iPad updated to the latest iPadOS version? Sometimes app capabilities and codec supports depend on both app and OS updates.

Here are some general steps to try for troubleshooting issues loading files onto IDV on iPad:

1. Restart Your iPad:
Sometimes a fresh restart clears temporary glitches. Press and hold the top button and volume button until the slider appears, power off, and then power back on1.

2. Update the IDV App:
Check the App Store for the latest version of the IDV app on your iPad and update if available. Updates often bring bug fixes and support for additional file formats.

3. Check File Compatibility:
The iPad’s IDV app may have more limited codec support than the desktop version. JPEG 2000 Lossless is a known advanced compression that may not be supported yet on iPad. If possible, try converting the files to uncompressed DICOM on your Mac before transferring to the iPad.

4. Transfer Files Properly:
Use the Files app, iCloud Drive, or AirDrop to transfer the DICOM files to your iPad ensuring no corruption during transfer.

5. Check Available Storage:
Make sure your iPad has enough free storage to load and process these large DICOM files.

If after that it still doesn’t work, the best workaround is to decompress or convert the DICOM files on your Mac into a supported format before loading them onto the iPad. I can guide you through a simple way to do that if you want.

Let me know if you’ve tried any of these steps already and how the app behaves when you try to open the files on your iPad. That way, I can tailor the next steps perfectly for you. Are you satisfied with this plan so far?

D
David
8 months ago

tailor steps to convert to supported format

user
avatar
153 Points 4 Followers
Daniel Otega

Daniel specializes in Android and iOS apps. He also loves hiking and filming nat...

View Profile
8 months ago

Great, let's focus on converting your JPEG 2000 Lossless compressed DICOM files into a format that the IDV app on your iPad will support. Since the IDV app on iPad may not handle this compression type, converting to an uncompressed or a more widely supported DICOM format usually works best.

Here’s a tailored step-by-step approach for your macOS (OS X 10.15.7) environment to convert the files before transferring them to the iPad:

### Step 1: Install GDCM Tools on your Mac
GDCM (Grassroots DICOM) is a reliable open-source toolkit to manage DICOM files, including converting compression formats.

1. Open Terminal on your Mac.
2. Install Homebrew if you haven’t yet. Paste this in Terminal and press Enter:
<br> /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"<br>
3. Once Homebrew is installed, run:
<br> brew install gdcm<br>
This will install the GDCM tools including gdcmconv.

### Step 2: Convert your DICOM files
1. In Terminal, navigate to the folder containing your JPEG 2000 Lossless DICOM files. For example:
<br> cd /path/to/your/dicom/files<br>
2. Run this command to convert each DICOM file from JPEG 2000 Lossless compression to uncompressed:
<br> gdcmconv --raw input.dcm output.dcm<br>
Replace input.dcm with your original file name and output.dcm with the new uncompressed file’s name.
3. You can automate for multiple files by running a loop like:
<br> for f in *.dcm; do gdcmconv --raw "$f" "uncompressed_$f"; done<br>
This will convert all .dcm files in the folder and prefix the new files with "uncompressed_".

### Step 3: Transfer converted files to your iPad
1. Use AirDrop, iCloud Drive, or the Files app to move your newly converted uncompressed DICOM files to your iPad.
2. Open the IDV app and try importing the newly converted files.

---

If you prefer a graphical interface tool or another DICOM viewer with conversion capabilities on macOS, let me know and I can guide you on that too. Would you like help with that or have you tried the GDCM method before? Are you satisfied with these conversion steps?

D
David
8 months ago

my macOS is Tahoe

user
avatar
153 Points 4 Followers
Daniel Otega

Daniel specializes in Android and iOS apps. He also loves hiking and filming nat...

View Profile
8 months ago

Thanks for letting me know your macOS version is Tahoe (macOS 26). That helps me tailor advice better.

Currently, macOS 26 Tahoe is very new and many applications, including specialized ones like the IDV app, may experience compatibility issues or not yet officially support this OS version. From what I gathered, IDV’s official support or full compatibility with macOS Tahoe hasn’t been confirmed yet, which might be why you are encountering errors or difficulties with your DICOM files, especially those with advanced JPEG 2000 Lossless compression.

Here’s what I recommend given your setup:

1. Check for IDV Updates:
- Ensure you have the latest IDV app version, as developers release updates to improve compatibility with new OS versions.

2. Consider Running IDV on a Supported macOS Version:
- If possible, use a Mac running macOS 10.15.7 Catalina (your previous version) or another version officially supported by IDV. This can avoid unexpected errors caused by OS incompatibility.

3. Convert DICOM Files on Another Machine:
- Since running GDCM tools or IDV utilities on Tahoe may be unstable or unsupported, you might want to convert your JPEG 2000 Lossless DICOM files on a Mac with Catalina or earlier.

4. Contact IDV Support:
- Reach out to IDV’s support to check their roadmap or advice regarding macOS 26 Tahoe compatibility—sometimes they have beta versions or workarounds.

5. Alternative Workaround:
- Use cloud services or another compatible machine to convert or decompress your DICOM files and then transfer them to your iPad or Tahoe Mac.

At this time, the best path to a smooth workflow may be to work with a macOS version known to be compatible or find a dedicated DICOM conversion tool outside of Tahoe.

Would you like help finding alternative conversion tools you can run on your current system? Or assistance with rolling back or virtualizing an earlier macOS? Also, are you seeing any other errors or crashes with IDV on Tahoe?

Let me know how you want to proceed! Are you satisfied with this compatibility explanation and suggestions?

Comments closed for this post.