Change the Return Type in saveImage