https://bugzilla.wikimedia.org/show_bug.cgi?id=25403

--- Comment #4 from David <da...@hackerspace.lu> 2011-02-12 17:33:21 UTC ---
Well I can confirm that the $wgCustomConvertCommand = "gm convert %s -resize
%wx%h %d"; is being ignored on r80886 when uploading svg files. I.e.
svghandler::reasterize() does not respect that variable:

"SvgHandler::rasterize: convert -background white -thumbnail 800x427\!
'/var/www/hackerspace.lu/www/w/images/8/84/Crowd.svg'
PNG:'/var/www/hackerspace.lu/www/w/images/thumb/8/84/Crowd.svg/800px-Crowd.svg.png'
2>&1"

this fails (although graphicsmagick-imagemagick-compat is installed) with the
following error message:

"thumbnail failed on syndi: error 1 "convert: Unrecognized option
(-thumbnail)." from "convert -background white -thumbnail 800x427\!
'/var/www/hackerspace.lu/www/w/images/8/84/Crowd.svg'
PNG:'/var/www/hackerspace.lu/www/w/images/thumb/8/84/Crowd.svg/800px-Crowd.svg.png'
2>&1""

It is NOT being ignored by the BitmapHandler though:

"BitmapHandler::doTransform: Running custom convert command gm convert
'/var/www/hackerspace.lu/www/w/images/d/df/Defcon-8.jpg' -resize 800x600
'/var/www/hackerspace.lu/www/w/images/thumb/d/df/Defcon-8.jpg/800px-Defcon-8.jpg'"

This works just fine.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to