Replaced FreeImage by LodePNG