Just an example of using JPEG compression glitching to mess with a HaxeFlixel game.
The RenderLayer
class handles all of the logic. The Encode
class is mostly just a wrapper for various ways of handling BitmapData
and ByteArray
objects.
None of this is supported in Flash, largely because the BitmapData.loadFromBytes()
function is not available there.
Shared under an MIT license. See license.md for details.