[Tilecache] 24 bit png

Christopher Schmidt crschmidt at metacarta.com
Thu Aug 2 12:28:32 EDT 2007


On Thu, Aug 02, 2007 at 04:00:48PM +0100, Stuart Eve wrote:
> Dear all
> 
> I am trying to get my tilecache to produce 24 bit pngs. Is there support for
> this in the .cfg file? I have had a brief look at the code and it looks like
> it just grabs self.extension, appends it to 'image/' and sends it through to
> the WMS server. I therefore tried to hack it into the .cfg file thus:
> 
> extension="png; mode=24bit"
> 
> but it still seems to be producing non-24bit PNGS.

You've left out some important information: which WMS server you're
using. This is a WMS server configuration issue: you should configure
your server to deliver 24 bit PNGs for format=image/png requests.

Helping you to do that requires knowledge of what server you are using.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list