[mapguide-users] RE: [mapguide-announce] MapGuide Open Source 2.0.0released

Zac Spitzer zac.spitzer at gmail.com
Fri Feb 29 05:03:28 EST 2008

>  Second, proper PNG8 support was added to the GETMAPIMAGE call while fixing the black background of GIF/JPG images.  This is not leveraged by either Fusion or the AJAX viewer by default, but you can modify these frameworks to use PNG8 instead fairly easily.  Note, you will not want to do this for maps that require more than 256 colours (including antialiasing) in a single view.  If you are doing this with Fusion, search for the string GETMAPIMAGE in these files (I'm not sure which is actually used) and close to this string replace PNG with PNG8:
>  /fusion/lib/OpenLayers/OpenLayers.js
>  /fusion/lib/OpenLayers/OpenLayersCompressed.js
>  On one of my test maps, using PNG8 looks just about as good as PNG24 and means that at full screen the image went from 500kb to 120kb.  This will make a huge difference to internet users.

is there a way of enabling this for GETTILEDIMAGE?

Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168

More information about the mapguide-users mailing list