ri_analyze() fingerprints a folder or a set of files (PNG, TIFF 8/16-bit, JPEG) and classifies pairs as identical files, identical pixels or visually similar in any of eight orientations.
ri_write() writes result.json, pairs.csv, a self-contained report.html and an RO-Crate provenance record.