# The size of the image on the page
'clientWidth' => $params['width'],
'clientHeight' => $params['height'],
# The size of the image on the page
'clientWidth' => $params['width'],
'clientHeight' => $params['height'],
'comment' => isset( $params['descriptionUrl'] ) ?
"File source: {$params['descriptionUrl']}" : '',
# Properties of the original image
'comment' => isset( $params['descriptionUrl'] ) ?
"File source: {$params['descriptionUrl']}" : '',
# Properties of the original image
$im->sharpenImage( $radius, $sigma );
}
$im->setCompressionQuality( 80 );
$im->sharpenImage( $radius, $sigma );
}
$im->setCompressionQuality( 80 );
$im->setCompressionQuality( 95 );
} elseif ( $params['mimeType'] == 'image/gif' ) {
if ( $this->getImageArea( $image ) > $wgMaxAnimatedGifArea ) {
$im->setCompressionQuality( 95 );
} elseif ( $params['mimeType'] == 'image/gif' ) {
if ( $this->getImageArea( $image ) > $wgMaxAnimatedGifArea ) {