Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Transparency support WMS Renderer with image/png8 format

Right. I moved image/png to the top of the list and it works for me. Otherwise with the attached patch I changed the renderer and it works with the default order too.

I created an issue : http://jira.codehaus.org/browse/UDIG-1650

Frank

2010/5/12 Jody Garnett <jody.garnett@xxxxxxxxx>
Create a bug - and attach a patch if you can :-)

Can you confirm, by changing the requested format order in the WMS preference page; that switching to a different format is helping?

Jody

On 12/05/2010, at 7:29 PM, Frank Gasdorf wrote:

Hello uDig'ers

I just tested a bit udig 1.2 RC2 against a geoserver 2.0.x server and was wondering that requested layers returned images with a default background color. The request has "TRANSPARENCY=FALSE" included and therefore I looked into the sources.

In the BasicWMSRenderer2 class I found a formatSupportsTransparency function that would return false if the image format is image/png8. In addition the udig default image type order has this format on top of others, means if the server supports image/png8 udig will request this format.

In my opinion it looks like a bug, png8 has transparency support [1]! Should I create an issue in jira and attache a patch there. Could somebody confirm that? The formatSupportsTransparency function should return true if the format is image/png8 !

In regards,

Frank

[1] http://en.wikipedia.org/wiki/Portable_Network_Graphics
<BasicWMSRenderer2.patch>_______________________________________________


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top