openfl/openfl-native — pull request #124 by bendmorris (2013-11-17 22:00:35+00:00)
Title: Implementing BitmapData.paletteMap function

I've been using this function in Flash, so I thought I'd try my hand at porting it to openfl for use on other targets.

Took a little tinkering to get it to work correctly, and I'm still not sure why I need to reverse the ordering of the ARGB values when getting/setting pixels, but it seems to work on Linux at least.