Changeset 40129 for trunk/src/wp-includes/class-wp-image-editor-imagick.php
- Timestamp:
- 02/27/2017 04:21:41 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r40123 r40129 551 551 552 552 // Normalise Exif orientation data so that display is consistent across devices. 553 $this->image->setImageOrientation( Imagick::ORIENTATION_TOPLEFT ); 553 if ( is_callable( array( $this->image, 'setImageOrientation' ) ) && defined( 'Imagick::ORIENTATION_TOPLEFT' ) ) { 554 $this->image->setImageOrientation( Imagick::ORIENTATION_TOPLEFT ); 555 } 554 556 555 557 // Since this changes the dimensions of the image, update the size.
Note: See TracChangeset
for help on using the changeset viewer.