merge saveImage