Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -157,6 +157,7 @@ |
158 | 158 | // or ImageMagick may decide your ratio is wrong and slice off |
159 | 159 | // a pixel. |
160 | 160 | " -thumbnail " . wfEscapeShellArg( "{$physicalWidth}x{$physicalHeight}!" ) . |
| 161 | + // A % is an escape character in ImageMagick |
161 | 162 | " -set comment " . wfEscapeShellArg( str_replace( '%', '%%', $descriptionUrl ) ) . |
162 | 163 | " -depth 8 $sharpen " . |
163 | 164 | wfEscapeShellArg($dstPath) . " 2>&1"; |