Page MenuHomePhabricator

tiffinfo considers a tiff file invalid
Open, Stalled, Needs TriagePublic

Description

Please read the documentation about this situation: T269452: Please upload large files to Wikimedia Commons

And the file with the problem is: https://commons.wikimedia.org/wiki/File:DSC_8200-Pano.tif

The problem is that tiffinfo considers the file invalid, so MediaWiki thinks the files are 0x0 px. It doesn't bother to generate thumbnail links, and serves a "broken thumbnail" image instead. Manually creating a thumbnail link like https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/DSC_8200-Pano.tif/220px-DSC_8200-Pano.tif.jpg shows that the Thumbor thumbnail generation is working fine. In any case, thumbnails will be generated within 60s from the first request or not at all.

Running tiffinfo DSC_8200-Pano.tif results in

TIFFReadDirectory: Warning, Unknown field with tag 37724 (0x935c) encountered.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.

tiffinfo then proceeds to spew hex from the file instead of any useful output.

You may be able to make the file work by exporting it with different settings. Otherwise, please report the problem to the tiffinfo developers Upstream

Event Timeline

Reedy updated the task description. (Show Details)
Reedy added a subscriber: AntiCompositeNumber.
Reedy renamed this task from Problem in thumbnail generation to tiffinfo considers a tiff file invalid.Dec 11 2020, 2:17 AM
Reedy added a subscriber: Reedy.

Noting this still needs reporting Upstream over at https://gitlab.com/libtiff/libtiff/-/issues

Locally confirming; using libtiff-tools-4.1.0-4.fc33.x86_64 on https://upload.wikimedia.org/wikipedia/commons/6/6a/DSC_8200-Pano.tif

Please report to https://gitlab.com/libtiff/libtiff/-/issues and after doing so, provide the link here. Thanks a lot!

Aklapper changed the task status from Open to Stalled.Dec 11 2020, 8:29 AM