private File createTempFile() {
        final String tempDir = FileUtils.getTempDirectoryPath();
        final String tempFileName = this.getClass().getName() + "-" + random.nextLong() + ".tmp";

        return new File(tempDir, tempFileName);
    }
Test data.
@return test data.
@throws Exception if it fails to read the images with EXIF.
src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriterRoundtripTest.java