Skip to main content

ImageIO.getImageReadersByFormatName("dicom") does not work

Please note these forums are being decommissioned and use the new and improved forums at
2 replies [Last post]
Joined: 2011-02-23

Hello everyone

I have a problem related to javax.imageio.ImageIO as explained below:
Iterator<ImageReader> readersItrator = ImageIO.getImageReadersByFormatName("dicom");
readersItrator.hasNext() //ALWAYS RETURN FALSE
Please suggest me any solution.
Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2011-06-30

If you download the binary package for the toolkit from and place the dcm4che2-imageio jar in your classpath, it should automatically pick up the new codecs and should appear when you run the code.

Joined: 2010-05-21

Dicom is not a format natively supported by jai. The dcm4che toolkit (in both 1.x and 2.x flavors) has an ImageReader implementation for dicom files.