I have asked the same question in this forum as well http://www.mirthproject.org/community/forums/showthread.php?t=217493
Here's my requirement I'm reading the .txt file (Base 64 Encoded) and converting into tif Image file in JAVA. Since creating multiple sliding images is not possible via mirth. I used a Java Library to achieve this. JAR I used are jai-codec-1.1.3
,jai-core-1.1.3
and jai_imageio-1.1
Now the code I wrote works fine when executing through Eclipse, it reads the combined encoded strings and generates a .tiff file out of it. Im using the same library and calling it via Mirth. It throws the following error java.lang.NoClassDefFoundError: javax/media/jai/OperationRegistrySpi
I referred all posts that has same error and tried out including dependent JARS like mlibwrapper_jai-1.1.3-sources
and gt-geotiff-14.4-sources
they did not work. Im getting a same error again. Now the confusion is how it works perfectly in JAVA but not in Mirth? Im using Mirth version 3.4.2
Else it would be great if some one could suggest an alternate JAVA library. To generate .txt base 64 encoded to TIFF images.