write metadata to image in restore() method of enc_cb
reconstruct() parameters change