Extension talk:PagedTiffHandler

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
zu hohe Auflösung715:57, 21 March 2012
Standard configuration settings?300:42, 26 January 2012

zu hohe Auflösung

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
 
 
 
 
 

Standard configuration settings?

It would be nice to mention the standard configuration setting so as to not have us copy all setting unnecessarily. --92.72.130.209 17:30, 20 January 2012 (UTC)

92.72.130.20917:30, 20 January 2012

The documentation is a bit messy. Ideed this should be changed.

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

Ok, good idea. Most of what's described on the extension page are standard settings. However, I have to double check and will mark them appropriately.

Mglaser00:36, 26 January 2012
 

Done. Does this help?

Mglaser00:36, 26 January 2012
 
 
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox