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

WordPress Trac noreply at wordpress.org
Mon Feb 22 22:59:05 UTC 2016


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

Comment (by mikeschroder):

 If we want to do more in 4.5, I’d prefer to see an initial version of
 `thumbnailmage()` land as soon as it can (ideally before beta), so it can
 get tested appropriately.

 First glance at [attachment:33642.2.patch]:
 - Check to be sure we're not duplicating existing resize logic in
 WordPress (e.g. `image_resize_dimensions()`).
 - The image object, rather than `WP_Image_Editor` needs to be checked in
 `method_exists( $this, 'deleteImageProperty' )`.
 - `thumbnailImage()` and `strip_profiles()` are probably better
 `protected`, to avoid plugins calling them directly.

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


More information about the wp-trac mailing list