Append codes whitch is saving image with CV2