https://bugzilla.wikimedia.org/show_bug.cgi?id=37563
Web browser: ---
Bug #: 37563
Summary: Proofread Page maximum width for images generated from
djvu files
Product: MediaWiki extensions
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ProofreadPage
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Blocks: 35925
Classification: Unclassified
Mobile Platform: ---
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l