png writing improved (compression level - 3, larger but faster)