[udig-devel] wms: image/png; mode=24bit

Tore Halset halset at pvv.ntnu.no
Mon Sep 10 05:31:22 PDT 2007


Hello.

"image/png" is the mime-type for png, but I want to offer both 8-bit  
and 24 bit png from our wms. I wonder if this is possible by tweaking  
the mime-type and if uDig would understand this.

After googling this issue, I have found different ways to encode  
this. "FORMAT=image/png8" and "FORMAT=image/png24" is one format.  
Another is "FORMAT=image/png; mode=24bit". Does uDig handle any one  
of those formats?

If I implement this hack in our WMS we would of course still offer/ 
accept the standard "image/png" as probably most clients would prefer  
that variant.

  - Tore.


More information about the udig-devel mailing list