Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1391) WebMapServer PNG format scrambled for some servers

WebMapServer PNG format scrambled for some servers
--------------------------------------------------

                 Key: UDIG-1391
                 URL: http://jira.codehaus.org/browse/UDIG-1391
             Project: uDIG
          Issue Type: Bug
          Components: wms
    Affects Versions: UDIG 1.2.M0
            Reporter: Jody Garnett
            Assignee: Jody Garnett


This issue appeared during testing on the windows platform...

1 Download from: http://udig.refractions.net/files/jre
2 Unzip into your udig folder
3. Start up udig and check either of the following:
- http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?version=1.1.1&service=WMS&request=GetCapabilities
- http://205.150.58.109/cgi-bin/bsc_ows.asp?version=1.1.1&service=WMS&request=GetCapabilities
4. In the default ordering PNG pictures will be requested; in whatever palette format we have trouble with
5. If the pictures appear scrambled try another JRE ..

Turns out this is a known problem with either JAI or ImageIO (I could not determine which); from email ...Andrea Aime said:
{panel}
Yep, we noticed that in GeoServer as well, the native reader is quite
poor, that's why we disable it on startup with the following code:

ImageUtilities.allowNativeCodec("png", false, false);

Cheers
Andrea 
{panel}

I would like to add this command to a startup hook:
- if I add it in net.refractions.udig.catalog.wms; it will make sense and the fix will be close to the plug-in having the problem
- if I add it in net.refractions.udig.core; it will be global for the entire application - along with all the other global settings

I think I will add it to net.refractions.udig.core; it is a global setting and should be documented as such....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top