[Tilecache] 24 bit png

Tim Schaub tschaub at openplans.org
Thu Aug 2 11:06:52 EDT 2007


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"
> 

If I'm not mistaken, you have to use one of the accepted options for 
extension in your config.  To always have "mode=24bit" appended to your 
request, you could include it in the layer url (in tilecache.cfg).


> but it still seems to be producing non-24bit PNGS.
> 
> Does anyone have any ideas?
> 
> Stuart
> !DSPAM:4033,46b1f1c6101411336712104!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> 
> 
> !DSPAM:4033,46b1f1c6101411336712104!




More information about the Tilecache mailing list