Remove use of deprecated saveImage method