Last modified: 2009-12-31 00:25:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12374 - possible image thumbnailing restriction prevention
possible image thumbnailing restriction prevention
Status: RESOLVED DUPLICATE of bug 9497
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-22 00:10 UTC by Carl Fürstenberg
Modified: 2009-12-31 00:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
the allmighty patch (2.60 KB, patch)
2007-12-22 00:10 UTC, Carl Fürstenberg
Details

Description Carl Fürstenberg 2007-12-22 00:10:38 UTC
Created attachment 4459 [details]
the  allmighty patch

After checking the imagemagick documentation, I concluded that following patch could take care of the arbitrary 12.5Mpixel limit, and concentrate on limiting the used cache instead.
Comment 1 Brion Vibber 2009-08-12 23:07:47 UTC
Some of my notes from IRC; other than bringing the patch up to date a couple things to note:

[4:05pm] brion: the rule exception check looks wrong; it's only with ImageMagick that we can safely scale large JPEGs
[4:05pm] brion: if we tried it with GD we'd need to load the full image into memory, i believe
[4:06pm] brion: some sensible example values for the limits could be useful, as well as simply testing to confirm that it doesn't go beyond those limits with large PNG and TIFF sources
[4:06pm] brion: should collect some sample input files...
Comment 2 Guillaume Paumier 2009-12-31 00:25:30 UTC
Marking as duplicate of bug 9497 since the patch tries to address the same issue.

*** This bug has been marked as a duplicate of bug 9497 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links