Changeset 58417
- Timestamp:
- 06/14/2024 03:24:32 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r58415 r58417 776 776 */ 777 777 protected function remove_pdf_alpha_channel() { 778 $version = Imagick::getVersion(); 778 779 // Remove alpha channel if possible to avoid black backgrounds for Ghostscript >= 9.14. RemoveAlphaChannel added in ImageMagick 6.7.5. 779 if ( version_compare( phpversion( 'imagick' ), '9.14', '>=' )) {780 if ( $version['versionNumber'] >= 0x675 ) { 780 781 try { 781 782 // Imagick::ALPHACHANNEL_REMOVE mapped to RemoveAlphaChannel in PHP imagick 3.2.0b2.
Note: See TracChangeset
for help on using the changeset viewer.