Raise $wgMaxImageArea to 25 megapixels
Closed, ResolvedPublic


At the moment Tiff files are only rendered if the file is 12.5 megapixels or less. This limit has been in place for quite some time and has proved to be sufficient for quite some files, but the limit is too low for a lot of other files.

Please raise the limit to 25 megapixels. This covers most files from GLAM/archival sources.

Version: wmf-deployment
Severity: enhancement


bzimport set Reference to bz41125.
bzimport added a subscriber: Unknown Object (MLST).

Talked with Duesentrieb and Reedy about this on irc.

Tiff rendering is done by https://www.mediawiki.org/wiki/Extension:PagedTiffHandler . It contains "$wgTiffMaxEmbedFileResolution" but that doesn't seem to be set anywhere.

It looks like http://www.mediawiki.org/wiki/Manual:$wgMaxImageArea is the one that would need to be raised.

Reedy added a comment.Oct 17 2012, 7:14 PM

Increase $wgMaxImageArea to 1.4e7...

Sam raised the limit on test to 2.5e7 and now https://test.wikipedia.org/wiki/File:Bladiedadsf027118pu.tif renders properly.

mcdevitd wrote:

Since we are raising the megapixel limit, it would be nice to see some movement on bug 29967 to make these large files more friendly to users.

Updated the title to what I think needs to happen (raise $wgMaxImageArea).

Reedy added a comment.Oct 21 2012, 1:32 AM

Up to 20 on the cluster... No problems seemingly noticed so far!

See bug 41511 for followup fallout.

Restricted Application added subscribers: JEumerus, StudiesWorld, Matanya. · View Herald TranscriptJan 28 2016, 6:12 PM

Add Comment