Hi @raksha253929679gtb, how do you know an image is corrupted? Does it cause a crash, or doesn't print, or has a visual problem? Is it an issue during script execution? We'll probably need to know more about it before we can help.
the fastest way to find the problem is to try exporting the documemnt in halves. If one half fails, divide that in half and repeat until you are down to a single page. Move half the page content to the pasteboard in the same way until the problem is isolated.