title: can I check if downloaded image is corrupt or not before saving?
body: <p>can I check if downloaded image is corrupt or not before saving it into my document directory?
  if yes then please tell me how?
  thank you</p>