<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Hello all Mapserver friends,<br><br>It is Easter time. So I thought it was time to share one Mapserver Easter Egg that I have found.<br>In some old mapfile examples it seems like there is a method to get transparent color by giving a -1 for the red value. <br>This is not documented, so I started to experiment.<br><br>You can find my experiments here:<br><br>https://gist.github.com/LarsSchy/df91553f1fda02196ba7881a129b4c64<br><br>You can test the example yourself by running shp2img.<br><br>shp2img -m polygon-fill-rgb.map -o polygon-fill-rgb.png<br><br>So if You would like to get a nice yellow color for the chickens use: -5 -20 0<br>To get a nice Santa red color use: -2 200 200<br>For a nice green color for green plants: 128 -2 128<br>Finally -255 -255 -255 gives You black color.<br><br>Have fun and a good weekend.<br><br>Lars Schylberg</div></body></html>