Repair PDF files
Welcome to the Repair image guide. This guide will teach you how to Repair one or more damaged -impossible to open and read- images files easily.
The Repair tool has no specific attributes so this guide will focus only on Repair basics while recommend you to take a look at Common features guide for an advanced use of Merge.
Also all Tool Guides takes into account that you have previous knowledge about the Basics to process images with our REST API. We strongly recommend you to read the related guide before start with this one.
Repair is another one of the simplest tools of iLoveIMG API to use and can be done by simply uploading one or more files as in this example code:
With this code, file1_name.jpg will uploaded to be repaired. If the file was repaired successfully (or wasn't originally damaged!) the process will end successfully and files will be ready to download. But sometimes it is possible that one or more files are heavily damaged and cannot be repaired. For these cases, the Repair tool will inform with a warning which files couldn't be repaired.
That's it! Remember that you can explore more functions like setting the output filename in the Common features guide.