Last modified: 2011-12-08 16:05:35 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 T31054, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29054 - Thumbnails break with older versions of ImageMagick
Thumbnails break with older versions of ImageMagick
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-19 20:40 UTC by Ross Dakin
Modified: 2011-12-08 16:05 UTC (History)
3 users (show)

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


Attachments
Screen Shot of Error (13.20 KB, image/png)
2011-05-19 20:40 UTC, Ross Dakin
Details
Patch (721 bytes, patch)
2011-05-19 20:52 UTC, Ross Dakin
Details

Description Ross Dakin 2011-05-19 20:40:53 UTC
Created attachment 8559 [details]
Screen Shot of Error

With older versions of ImageMagic (not sure which all, but tested with 6.0.7), the thumbnails of newly uploaded images are simply the text "Error creating thumbnail: convert: unrecognized option `-set'." on a gray background (see attachment).
Comment 1 Ross Dakin 2011-05-19 20:52:14 UTC
Created attachment 8560 [details]
Patch

Broke in r60175 (version 1.15.2 and higher).
Comment 2 Derk-Jan Hartman 2011-05-20 11:53:08 UTC
ImageMagick 6.2 (maybe even 6.3) is our minimum requirement I believe. I do not see this as a bug. You should not use ImageMagick from 2004: http://sourceforge.net/projects/imagemagick/files/old-sources/6.x/

it's full of security holes and the commandline syntax has changed so much since then, it's not worth being compatible with old versions and running the risk of not being compatible with future versions.
Comment 3 Christian Neubauer 2011-12-08 16:05:35 UTC
According to a comment in Bitmap.php, it's now 6.5.6-2 (as of 1.18).

283 	// JPEG decoder hint to reduce memory, available since IM 6.5.6-2
284 	$decoderHint = "-define jpeg:size={$params['physicalDimensions']}";

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


Navigation
Links