In Mapscript 3.6, the saveImage method had a parameter that allowed the 
transparent color to be specified. 
   
  $img = $map->draw();
  $img->saveImage($imgfile, MS_GIF, hexdec('FFFFCC'), 0, 0);
   
  I'm porting to 4.8.2 and still discovering differences in the object model. 
The following lines seem to get me a gif, but how do I tell it which color is 
transparent?
   
  $map->selectOutputFormat('gif');
...
  $img = $map->draw();
  $img->saveImage($imgfile);

  Thanks for your help.

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to