Recovering unrecognizably damaged 19th-century photographs with scanning x-ray fluorescence