Topic on Extension talk:PagedTiffHandler

SmartK (talkcontribs)
  • 2012.01.03: Sadly I get the following error message on most of our "TIFs" files: "Fehler beim Erstellen des Vorschaubildes: Die Quelldatei hat eine zu hohe Auflösung. Es wird kein Thumbnail generiert. (in my German Wiki)"
I changed the following settings but without any success:
// Maximum resolution of embedded images (product of width x height pixels)
#$wgTiffMaxEmbedFileResolution = 25600000; // max. Resolution 1600 x 1600 pixels
$wgTiffMaxEmbedFileResolution = 102400000; 
// TTL of Cacheentries for Errors
#$wgTiffErrorCacheTTL = 84600;
$wgTiffErrorCacheTTL = 10;
// Use vips
$wgTiffUseVips = true;
// Path to vips
$wgTiffVipsCommand = '/usr/bin/vips';
  • Does anyone have a clue? thank's...
Kghbln (talkcontribs)

You should write in English to increase the chance of getting an answer. Cheers

SmartK (talkcontribs)

I know. But as the programmers are German anyway I thought it would make no difference ;-)

Mglaser (talkcontribs)

It makes no difference for me (one of the programmers), but might not help other users ;) Sorry, though, for my late answer. There is a configuration parameter $wgMaxImageArea, that limits the size of images that thumbnails are created from. This is set to 3500 x 3500 px as a standard. You might try to increase this. (see Manual:$wgMaxImageArea)

SmartK (talkcontribs)

Thank you Mglaser. I will try this next week and will then post the results. I also translated my question above into German ;-)

SmartK (talkcontribs)

Sadly no change. I added the following:

// $wgMaxImageArea: Default is 50 MB if decompressed to RGBA form, which corresponds to 12.5 million pixels or 3500x3500.
$wgMaxImageArea = 100;
  • This is the error MediaWiki prints: "Fehler beim Erstellen des Vorschaubildes: Die Zieldatei hat eine zu hohe Auflösung. Es wird kein Thumbnail generiert."
    • This is the tiff:‎ ((Seite 1, 2.304 × 1.600 Pixel, Dateigröße: 21 KB, MIME-Typ: image/tiff))
Mglaser (talkcontribs)

Hm, well. Is it a multipage tiff? Can you possibly mail me the image so I can test it locally (wm@markus-glaser.de)?

SmartK (talkcontribs)

no, it's not. Just a big format. I just sent you the sample file.

SmartK (talkcontribs)

Hello Markus, any news on this subject? I would appreciate it!

Reply to "zu hohe Auflösung"