finish image save and read