[OSM-dev] Re: Transparency in osm.php and srtm.php
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Thu May 18 11:28:38 BST 2006
>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've just done a "file" on the generated tiles. It reports 8 bit. Even
though I created with ImageCreateTrueColor!!!! Must be some obscure
problem. I'll try doing a google search and see if that throws up
anything.
BTW just noticed a mistake in the source of osm.php - it has
ImageCopyMergr, not ImageCopyMerge. But I tested srtm.php (which doesn't
use this) as well and still get the same result.
Nick
More information about the dev
mailing list