[OSM-dev] Re: Transparency in osm.php and srtm.php
Nick.Whitelegg at solent.ac.uk
Thu May 18 11:17:22 BST 2006
>> OK, transparency should work now.
>Mikel and I were pokig around at xtech and did a similar thing to you.
>The problem is that mapserver won't composite the tiles. The only
>difference seems to be that the current street tiles are 16 bit png
(with a 8 bit alpha channel presumably) and the php is throwing out 8bit
>(presumably indexed) pngs. We couldnt't figure out how to get 16 bit
>pngs out of the php.
Well the images should be true-colour, 24-bit images, as they are created
with the ImageCreateTrueColor() function. So quite why that is happening
I'm not sure. Might be worth trying GIF instead of PNG?
I guess this is a temporary problem if I convert it to Ruby. As a stopgap
if I can't get it sorted could we maybe temporarily ditch mapserver and
just use my all-in-one Landsat + contours + OSM renderer (drawmap.php)
until the Ruby version is ready?
More information about the dev