Coding Standards: Fix alignment in WP_Image_Editor_Imagick::thumbnail_image.

Follow-up to [59589].

See #36477, #62279.

Built from https://develop.svn.wordpress.org/trunk@60047


git-svn-id: http://core.svn.wordpress.org/trunk@59383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin
2025-03-18 23:25:31 +00:00
parent a389073064
commit 2a39b722ba
2 changed files with 2 additions and 2 deletions

View File

@@ -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 );