"/Nbase_type", # /
$binaryHeader
);
- } catch ( MWException $mwe ) {
+ } catch ( Exception $mwe ) {
return false;
}
* @param bool $checkDstPath
* @return string
*/
- protected static function getScalerType( $dstPath, $checkDstPath = true ) {
+ protected function getScalerType( $dstPath, $checkDstPath = true ) {
return "im";
}
*
* Image magick doesn't support indexed xcf files as of current
* writing (as of 6.8.9-3)
+ * @param File $file
+ * @return bool
*/
public function canRender( $file ) {
wfSuppressWarnings();