ImageIO and Twelvemonkeys lib

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageIO and Twelvemonkeys lib

Phase GmbH
Hello,

I added the necessary jars of the Twelvemonkeys lib to plugins\jars folder of ImageJ for loading  tiff files by it (windows 10, JDK 1.8, IJ 1.53). Before this I successfully tested the twelvemonkeys lib in a standalone java app (JDK 1.8) for beeing sure that I have selected all necessary jars of the twelvemonkey lib.
In ImageJ however, the twelvemonkeys jar for tiff handling was completly ignored although it worked well in the above mentioned standalone app. Since the twelvemonkeys lib is organized as plugins for ImageIO, I suppose that there is some problem with classpath seetings. Is there any solution known for this problem?

With best regards

Christian Kreutzfeldt

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageIO and Twelvemonkeys lib

Wayne Rasband-2
> On Feb 14, 2021, at 6:44 AM, Christian Kreutzfeldt <[hidden email]> wrote:
>
> Hello,
>
> I added the necessary jars of the Twelvemonkeys lib to plugins\jars folder of ImageJ for loading  tiff files by it (windows 10, JDK 1.8, IJ 1.53). Before this I successfully tested the twelvemonkeys lib in a standalone java app (JDK 1.8) for beeing sure that I have selected all necessary jars of the twelvemonkey lib.
> In ImageJ however, the twelvemonkeys jar for tiff handling was completly ignored although it worked well in the above mentioned standalone app. Since the twelvemonkeys lib is organized as plugins for ImageIO, I suppose that there is some problem with classpath seetings. Is there any solution known for this problem?

Copy the Twelvemonkeys jars to the ImageJ/jre/lib/ext directory and they will be added the the Java classpath when you restart ImageJ.

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html