How change color depth in yii2-imagine

I use yii2-imagine in my php web site. I want compress .png file when user upload images. If user upload phg image in 8-bit color depth (0,3 mb), after saving file size is 0,7mb and color depth is 32-bit. How can I set 8-bit?
Image::getImagine()->open($file->tempName)->->save('path/img.png', ['png_compression_level' => 9]);