Page MenuHomePhabricator

API commonmetadata doesn't work on TIFF files?
Open, Needs TriagePublic


Whenever I run an imageinfo / commonmetadata query on a TIFF file, I get empty output. The difference between metadata and commonmetadata isn't entirely clear to me, except that commonmetadata doesn't crash on files like PDFs with gigantic text scans in metadata (T86611).
According to, "To get a unified representation for all formats that matches the JPEG metadata format, use the &iiprop=commonmetadata option.", so I don't see any particular reason why it shouldn't work on TIFF files.

An example file with some metadata:

metadata API query:

commonmetadata API query:

Event Timeline

Anomie added a subscriber: Anomie.

The API is correctly returning what PagedTiffHandler is returning to it. PagedTiffHandler does not seem to implement getCommonMetaArray().