Much faster saving in bag2png.