[wp-trac] [WordPress Trac] #33642: Improve default Imagick compression settings

WordPress Trac noreply at wordpress.org
Wed Mar 9 02:25:31 UTC 2016


#33642: Improve default Imagick compression settings
----------------------------+------------------------
 Reporter:  joemcgill       |       Owner:  joemcgill
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.5
Component:  Media           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------

Comment (by markoheijnen):

 Patch looks fine.

 The only thing I would change is to move the `is_callable( array(
 $this->image, 'removeImageProfile' ) )` check outside the foreach loop and
 to start with that in `strip_meta()`. You probably also want to check for
 `getImageProfiles`. But then again, they are provided at the same version
 of Imagick.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33642#comment:57>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list