|
| 1 | +--- |
| 2 | +name: Test corpus sources |
| 3 | +description: 12 public repos/sources for image metadata test images; confirmed file lists, download URLs, and edge-case coverage per source as of 2026-04-03 |
| 4 | +type: reference |
| 5 | +--- |
| 6 | + |
| 7 | +# Image Metadata Test Corpus Sources |
| 8 | + |
| 9 | +All sources are incorporated in testdata/download.sh. |
| 10 | + |
| 11 | +## SOURCE 1: ianare/exif-samples |
| 12 | +**URL**: https://github.com/ianare/exif-samples |
| 13 | +**License**: Not explicitly stated (public test images) |
| 14 | +**Key content**: |
| 15 | +- jpg/tests/: 13 edge-case JPEGs (type errors, GPS IFD, Unicode errors, zero-length strings, memory errors, IndexError) |
| 16 | +- jpg/invalid/: 7 malformed JPEG files (image00971.jpg through image02206.jpg) |
| 17 | +- jpg/gps/: 9 Nikon DSCN GPS-tagged JPEGs |
| 18 | +- jpg/orientation/: 16 orientation-tagged JPEGs (landscape_1-8, portrait_1-8) |
| 19 | +- jpg/xmp/: no_exif.jpg (XMP-only, no EXIF), BlueSquare.jpg |
| 20 | +- tiff/: 8 TIFF files including Crémieux11.tiff (Unicode filename test) |
| 21 | +- heic/, heic/mobile/: iPhone 13 Pro Max, Nokia 8.3 5G HEIC/HEIF |
| 22 | + |
| 23 | +## SOURCE 2: drewnoakes/metadata-extractor-images |
| 24 | +**URL**: https://github.com/drewnoakes/metadata-extractor-images |
| 25 | +**License**: Varies per file (community contributed) |
| 26 | +**Key content** (CONFIRMED via API): |
| 27 | +- tif/BigTIFF/BigTIFF.tif: BigTIFF Intel/LE |
| 28 | +- tif/BigTIFF/BigTIFFMotorola.tif: BigTIFF Motorola/BE (explicit big-endian test) |
| 29 | +- tif/BigTIFF/BigTIFFSubIFD4.tif, BigTIFFSubIFD8.tif: SubIFD traversal tests |
| 30 | +- tif/multipage.tif: multi-page TIFF (1.5 MB) |
| 31 | +- tif/ImageTestSuite/: ~45 hash-named TIFF edge cases |
| 32 | +- png/PngSuite/: ~175 official PNG test suite files |
| 33 | +- png/photoshop-8x12-rgb24-all-metadata.png: EXIF+IPTC+XMP in PNG |
| 34 | +- png/sampleWithExifData.png: EXIF in PNG |
| 35 | +- png/photoshop-8x12-rgb24-interlaced.png, rgba32-interlaced.png: interlaced PNG |
| 36 | +- png/invalid-iCCP-missing-adler32-checksum.png: corrupt PNG chunk |
| 37 | +- webp/: 15 WebP files covering VP8, VP8L, VP8X, lossless, lossy, animated |
| 38 | +- raf/: FujiFilm EX-2, FinePix S5500, X-E1 |
| 39 | +- x3f/: Sigma DP1 Quattro, DP2 Quattro |
| 40 | +- pef/: Pentax K-1 Mark II |
| 41 | +- xmp/: 4 sidecar XMP files (digiKam, jPhotoTagger, ExifTool 9.74, APhotoManager) |
| 42 | + |
| 43 | +## SOURCE 3: libexif/libexif-testsuite |
| 44 | +**URL**: https://github.com/libexif/libexif-testsuite |
| 45 | +**Images/**: 4 files: canon-eos-m6mark2.jpg, canon-powershot-g2.jpg, nikon-z6.jpg, samsung-s9.jpg |
| 46 | + |
| 47 | +## SOURCE 4: libexif/libexif test/testdata |
| 48 | +**URL**: https://github.com/libexif/libexif (test/testdata path) |
| 49 | +**Key content**: 9 MakerNote variant JPEGs with .parsed golden files |
| 50 | +- canon_makernote_variant_1.jpg |
| 51 | +- fuji_makernote_variant_1.jpg |
| 52 | +- olympus_makernote_variant_2.jpg through _5.jpg (4 variants) |
| 53 | +- pentax_makernote_variant_2.jpg through _4.jpg (3 variants) |
| 54 | +**Download pattern**: https://raw.githubusercontent.com/libexif/libexif/master/test/testdata/{filename} |
| 55 | + |
| 56 | +## SOURCE 5: IPTC reference images (iptc.org) |
| 57 | +**URL**: https://iptc.org/standards/photo-metadata/reference-images/ |
| 58 | +**License**: Official IPTC standard reference images (freely distributable for testing) |
| 59 | +**Available versions** (CONFIRMED via web): |
| 60 | +- Std2024.1: https://iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2024.1.jpg |
| 61 | +- Std2023.2: https://iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2023.2.jpg |
| 62 | +- Std2021.1: https://www.iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2021.1.jpg |
| 63 | +- Std2019.1: https://www.iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2019.1.jpg |
| 64 | +- Std2017.1: https://www.iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2017.1.jpg |
| 65 | +- Core1.3: https://www.iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Core1.3.jpg |
| 66 | +- Std2016: https://iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2016_large.jpg |
| 67 | +- Std2014: https://iptc.org/std/photometadata/examples/IPTC-PhotometadataRef-Std2014_large.jpg |
| 68 | +**Note**: Core1.3 failed to download in prior runs (404 possible). Each image has every field populated with its own field name as value. |
| 69 | + |
| 70 | +## SOURCE 6: Exiv2/exiv2 test/data |
| 71 | +**URL**: https://github.com/Exiv2/exiv2 (test/data path) |
| 72 | +**Key content** (CONFIRMED via API): |
| 73 | +- HEIC: Stonehenge.heic, IMG_3578.heic, 2021-02-13-1929.heic |
| 74 | +- PNG: 1343_comment.png (tEXt chunk), 1343_exif.png (EXIF in PNG), 1343_empty.png (no metadata) |
| 75 | +- XMP sidecars: BlueSquare.xmp, StaffPhotographer-Example.xmp |
| 76 | +- TIFF: Reagan.tiff, ReaganLargeTiff.tiff |
| 77 | +- Multiple *_poc files: fuzzing/security inputs |
| 78 | +- exiv2-fujifilm-finepix-s2pro.jpg: Fuji MakerNote |
| 79 | +- exiv2-sigma-d10.jpg: Sigma MakerNote |
| 80 | +- Canon-R6-pruned.CR3: Canon CR3 |
| 81 | + |
| 82 | +## SOURCE 7: adobe/XMP-Toolkit-SDK (samples/testfiles) |
| 83 | +**URL**: https://github.com/adobe/XMP-Toolkit-SDK |
| 84 | +**Key content**: XMP-heavy JPEGs and TIFFs from Adobe's reference XMP implementation |
| 85 | +**Note**: Only 6 JPEGs and 2 TIFFs at time of audit — small but authoritative |
| 86 | + |
| 87 | +## SOURCE 8: exiftool/exiftool (t/images) |
| 88 | +**URL**: https://github.com/exiftool/exiftool (t/images path) |
| 89 | +**License**: Artistic License (Perl standard) |
| 90 | +**Key files** (all CONFIRMED via API, sizes in bytes): |
| 91 | +- ExifTool.jpg (26,106): EXIF + IPTC + XMP combined |
| 92 | +- MWG.jpg (2,255): Metadata Working Group compliance |
| 93 | +- GPS.jpg (2,133): GPS IFD with coordinates |
| 94 | +- IPTC.jpg (9,851): IPTC-focused JPEG |
| 95 | +- XMP.jpg (10,314): XMP-only JPEG (key gap filler — no EXIF) |
| 96 | +- ExtendedXMP.jpg (1,380): multi-packet extended XMP |
| 97 | +- Unknown.jpg (7,199): JPEG with no recognized metadata |
| 98 | +- ExifTool.tif (4,864): TIFF with EXIF+IPTC+XMP |
| 99 | +- GeoTiff.tif (2,660): GeoTIFF with projection metadata |
| 100 | +- BigTIFF.btf (384): BigTIFF format (minimal) |
| 101 | +- FujiFilm.raf (38,452): Fuji RAF raw |
| 102 | +- PhaseOne.iiq (3,364): Phase One IIQ medium format |
| 103 | +- CanonRaw.crw (not sized): Canon CRW legacy format |
| 104 | +- Minolta.mrw (2,596): Minolta MRW raw |
| 105 | +- Sigma.x3f (1,464): Sigma X3F raw |
| 106 | +- PLUS.xmp (4,763): PLUS licensing XMP sidecar |
| 107 | + |
| 108 | +## SOURCE 9: sindresorhus/is-progressive |
| 109 | +**URL**: https://github.com/sindresorhus/is-progressive |
| 110 | +**License**: MIT (confirmed — license file present in repo) |
| 111 | +**Key files** (CONFIRMED via API): |
| 112 | +- kitten-progressive.jpg: progressive JPEG encoding |
| 113 | +- progressive.jpg: progressive JPEG encoding |
| 114 | +- baseline.jpg: baseline JPEG encoding |
| 115 | +- kitten.jpg: baseline JPEG encoding |
| 116 | +- curious-exif.jpg: EXIF data in baseline JPEG |
| 117 | +**Download base**: https://raw.githubusercontent.com/sindresorhus/is-progressive/main/fixture/ |
| 118 | + |
| 119 | +## SOURCE 10: tlnagy/exampletiffs |
| 120 | +**URL**: https://github.com/tlnagy/exampletiffs |
| 121 | +**Key files** (CONFIRMED via API, sizes): |
| 122 | +- mri.tif (230,578): multi-page TIFF (MRI slices) |
| 123 | +- shapes_tiled_multi.tif (37,604): tiled multi-page TIFF |
| 124 | +- shapes_lzw.tif (11,530): LZW compressed TIFF |
| 125 | +- shapes_deflate.tif: deflate compressed TIFF |
| 126 | +- shapes_uncompressed.tif: uncompressed TIFF |
| 127 | +- shapes_lzw_planar.tif: planar storage TIFF |
| 128 | +- shapes_lzw_palette.tif: palette TIFF |
| 129 | +- 4D-series.ome.tif: OME-TIFF with XML in ImageDescription |
| 130 | +**Download base**: https://raw.githubusercontent.com/tlnagy/exampletiffs/master/ |
0 commit comments