[mapserver-users] Transparency problem

Daniel Morissette morissette at dmsolutions.ca
Sat Nov 16 13:03:05 EST 2002


Alexander Pucher wrote:
> 
> In the last line, I create an array containing the colors. I use this to
> draw a Legend with the GD functions offered by PHP.
> So atfer drawing the map with
> 
> $image=$map->draw();
> $image_url=$image->saveWebImage(MS_PNG,1,1,0);
> 
> I use a function that takes the recently drawn map as the basemap and
> renders the legend on it using the $colors array.
>
...
> 
> How can changing the mapfile influence a PHP function, that has nothing
> to do with this mapfile?
> 

The first thing I would check is make sure that your MapScript and your
PHP are built with exactly the same copy of the GD library.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list