[josm-dev] TIFF support
Sebastian Klein
bastikln at googlemail.com
Fri Nov 19 17:27:20 GMT 2010
Olivier Croquette wrote:
> Hi !
>
> When I call this code from JOSM :
>
> String[] formats = ImageIO.getReaderFormatNames();
> for (String f:formats) {
> System.out.println(f);
> }
>
> It outputs "tiff" (lowercase, other variants like "tif", "TIF" and "TIFF" are missing).
>
> When I run the same code a simple-hello-world-like program, it doesn't.
>
> I tried the -verbose option of the Java VM, and it gives me :
> [Loaded com.sun.imageio.plugins.tiff.TIFFImageReaderSpi from /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Classes/classes.jar]
>
> The question is : what in JOSM causes the loading of this class ?
Google sais this class comes from Java Advanced Imaging (JAI) which is
loaded by the ImportImagePlugin. Hope this helps...
Sebastian
More information about the josm-dev
mailing list