mirror of
git://develop.git.wordpress.org/
synced 2025-03-23 13:29:56 +01:00
Coding Standards: Fix alignment in WP_Image_Editor_Imagick::thumbnail_image
.
Follow-up to [59589]. See #36477, #62279. git-svn-id: https://develop.svn.wordpress.org/trunk@60047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7047a91c0e
commit
1aa6da693a
@ -504,7 +504,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
$max_colors = pow( 2, $indexed_pixel_depth );
|
||||
if ( is_callable( array( $this->image, 'getImageColors' ) ) ) {
|
||||
$current_colors = $this->image->getImageColors();
|
||||
$max_colors = min( $max_colors, $current_colors );
|
||||
$max_colors = min( $max_colors, $current_colors );
|
||||
}
|
||||
$this->image->quantizeImage( $max_colors, $this->image->getColorspace(), 0, false, false );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user