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

Jackie Ng jumpinjackie at gmail.com
Wed Sep 26 06:15:57 PDT 2012

I've taken a stab at this. Turns out that the new PNG8 code path in Bruno's
patch does nothing with the computed baseColorPalette parameter that gets
handed down. 

So my changes now tell msQuantizeRasterBuffer() to compute a palette of (256
- baseColorPalette.size()) colors, and fill the remainder of the palette
with the colors from the baseColorPalette parameter, which is only done if
baseColorPalette is not NULL and has < 256 colors.

New MgRenderers.dll for MGOS 2.4 RC2 attached to the same ticket.

- Jackie

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

More information about the mapguide-users mailing list