Save compressed images in bag2png.