[mapguide-users] patch for Ticket #743 / png8 transparency

Jackie Ng jumpinjackie at gmail.com
Thu Sep 27 21:36:15 PDT 2012


I've put up a 3rd version of this patch (with matching MgRenderers.dll).

I screwed up the color preservation logic in the previous version. Turns out
if you ask for (256 - baseColorPalette.size()) colors in
msQuantizeRasterBuffer, it may not exactly fill up to that number of colors
that your requested (it could be less), resulting in potential overruns of
the baseColorPalette, when appending them to the computed palette.

The maps where I tested Bruno's original patch did some unwanted color
shifting for some symbols, but those colors are retained in this patch.

- Jackie



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/patch-for-Ticket-743-png8-transparency-tp5003596p5005087.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list