I am trying to save image to my machine using the below code but I am getting a blank image when I tried opening the image from the saved folder whereas I can see the image