Raise $wgMaxImageArea to 25 megapixels
Closed, ResolvedPublic

Assigned To
None
Priority
Needs Triage
Author
Multichill
Subscribers
Nemo_bis, Petrb, jayvdb and 6 others
Projects
Reference
bz41125
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

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz41125.
Multichill created this task.Via LegacyOct 17 2012, 6:53 PM
Multichill added a comment.Via ConduitOct 17 2012, 7:09 PM

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.Via ConduitOct 17 2012, 7:14 PM

Increase $wgMaxImageArea to 1.4e7...

Multichill added a comment.Via ConduitOct 17 2012, 8:04 PM

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

bzimport added a comment.Via ConduitOct 17 2012, 9:24 PM

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.

Multichill added a comment.Via ConduitOct 18 2012, 7:36 PM

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

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

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

Reedy added a comment.Via ConduitOct 23 2012, 5:21 PM

Done

Aklapper added a comment.Via ConduitOct 30 2012, 4:17 PM

See bug 41511 for followup fallout.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.