encodePng

fun encodePng(pixels: ShortBuffer, tileWidth: Int, tileHeight: Int): ByteArray