saves the image in the image folder as outputImage.jpg