My question: Are there programs similar to Bad Peggy that work for HEIC images and videos, or other workflows that can be used to detect corrupt images, e.g. using MacOS' Automator?
Background: Bad Peggy scans for and reports on corrupt JPEGs. In my experience it works very reliably for this purpose, and has (unfortunately) detected approx. 1500 corrupt photos in my image library. The same library, however, also contains HEIC images and video files. Hence the question above.
Side note: I would also be truly grateful if anyone can suggest ways to fix bit rot in said JPEGs. Preferably, the process should be automated, as there are around a thousand images that are affected.