test export
remove checkIfFinished
use libpng (included in pngcrush) to encode png