the issue was resolved by scanning the image in JPEG format, the issue was with the header.
_________________________
Peace