Last modified: 2012-08-24 17:20:01 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 T39563, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37563 - Proofread Page maximum width for images generated from djvu files
Proofread Page maximum width for images generated from djvu files
Status: RESOLVED DUPLICATE of bug 39015
Product: MediaWiki extensions
Classification: Unclassified
ProofreadPage (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: Wikisource
  Show dependency treegraph
 
Reported: 2012-06-13 18:42 UTC by enomil
Modified: 2012-08-24 17:20 UTC (History)
3 users (show)

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


Attachments

Description enomil 2012-06-13 18:42:20 UTC
After removing the maximum image width with Bug 33613 there can be errors while generating thumbnails. For example the djvu file [1] has the resolution of 5,664x7,140px. Generating thumbnails up to 3850px working fine, 3851px and more causing an error [2]: "Error generating thumbnail Error creating thumbnail: terminate called after throwing an instance of 'DJVU::GException' pnmtojpeg: EOF / read error reading magic number". [3]

This is limited by $wgMaxShellMemory [4]. The extension must be calculate an maximum width regarding to $wgMaxShellMemory. Perhaps the same for PDF files.

[1] http://commons.wikimedia.org/w/index.php?title=File:Die_Leichenr%C3%A4uber-Gerstaecker-1846.djvu
[2] http://upload.wikimedia.org/wikipedia/commons/thumb/7/7f/Die_Leichenr%C3%A4uber-Gerstaecker-1846.djvu/page1-5664px-Die_Leichenr%C3%A4uber-Gerstaecker-1846.djvu.jpg
[3] http://www.mediawiki.org/wiki/Manual:How_to_use_DjVu_with_MediaWiki#Problems_and_solutions
[4] http://www.mediawiki.org/wiki/Manual:$wgMaxShellMemory
Comment 1 Tpt 2012-08-24 17:20:01 UTC
Resolved.

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

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


Navigation
Links