Thursday 29 August 2013

No Image Reader of class com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader available for format:jpeg

we have to modify the $DCM4CHEE_HOME/server/default/lib/dcm4che.jar file (expand it), in particular the

org/dcm4cheri/image/ImageReaderFactory.properties

file, changing the lines with "com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader" with
"com.sun.imageio.plugins.jpeg.JPEGImageReader".
Same thing with the ImageWriterFactory.properties with "com.sun.imageio.plugins.jpeg.JPEGImageWriter"

After that, we have to create the new dcm4che.jar file using this command (run it in the folder containing the dcm4che.jar files previously extracted):

jar cvf dcm4che.jar *

Sobstitute the old jar file with the new one.
Start the server and wado service works with the web interface!

That's all!

No comments: