> Hi
>
> Sorry to dig up an old thread but I'm getting this problem on both 
> windows and a linux.
Not a problem ... let me check my code.
> I'm deploying with maven and have the pure java jars as dependencies 
> (jai_core, jai_codec, jai_imageio).
>   
In udig we have the following line during application start up:
>         if( Platform.getOS().equals(Platform.OS_WIN32) ){
>             // PNG native support is not very good .. this turns it off
>             ImageUtilities.allowNativeCodec("png", 
> ImageReaderSpi.class, false);  //$NON-NLS-1$
>         }
I also had problems with different configurations of JRE with or without 
native support and recorded my findings here:
- http://jira.codehaus.org/browse/GEOT-1862

Near as I can tell the default ImageReader that comes with one of the 
JRE bundles is bad; and we do better to make use of the pure java 
reader; or we do better to make use of a replacement installed by the 
ImageIO extension.

Jody

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to