<div>In Mapscript 3.6, the saveImage method had a parameter that allowed the transparent color to be specified. </div>  <div>&nbsp;</div>  <div>$img = $map-&gt;draw();</div>  <div>$img-&gt;saveImage($imgfile, MS_GIF, hexdec('FFFFCC'), 0, 0);</div>  <div>&nbsp;</div>  <div>I'm porting to 4.8.2 and still discovering differences in the object model. The following lines&nbsp;seem to get me a gif, but how do I tell it which color is transparent?</div>  <div>&nbsp;</div>  <div>$map-&gt;selectOutputFormat('gif');<BR>...</div>  <div>$img = $map-&gt;draw();</div>  <div>$img-&gt;saveImage($imgfile);<BR></div>  <div>Thanks for your help.</div><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com