This reverts commit ca9cd8cbe0. The TGA was faster and produced smaller files.
ca9cd8cbe0
A TGA Encoder written in Lua without the use of external Libraries.
May be used as a Minetest mod.