Page MenuHomePhabricator

Raise $wgMaxImageArea to 25 megapixels
Closed, ResolvedPublic

Description

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

Details

Reference
bz41125

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:55 AM
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.

Increase $wgMaxImageArea to 1.4e7...

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).

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

See bug 41511 for followup fallout.