zu hohe Auflösung

Jump to: navigation, search
Edited by 2 users.
Last edit: 07:09, 27 January 2012
  • 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...
SmartK11:01, 3 January 2012

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

[[kgh]]14:31, 22 January 2012

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

SmartK14:04, 25 January 2012

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)

Mglaser14:13, 25 January 2012

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

SmartK07:10, 27 January 2012

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))
SmartK10:29, 9 February 2012

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

Mglaser (talk)10:43, 16 February 2012

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

SmartK (talk)15:57, 21 March 2012

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

SmartK (talk)09:39, 14 August 2012