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

WordPress Trac noreply at wordpress.org
Tue Mar 8 23:04:40 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 joemcgill):

 [attachment:33642.10.patch] Fixes some mistakes in
 [attachment:33642.9.patch] and switches to using `is_callable()` for
 feature checking our optimizations instead of `method_exists()`. The
 `test()` method should now be identical to how it was in 4.4.

 This patch also includes the improvements to the `strip_meta()` method
 from [https://core.trac.wordpress.org/attachment/ticket/28634/28634.7.diff
 28634.7.diff] (see #28634) which strips all image profile data from
 resized images, except the following:

 * 'icc' – Color profiles
 * 'iptc' – Copyright info
 * 'exif' – Mainly for orientation data, but all other Exif data would also
 be maintained.
 * 'xmp' – Rights usage data

 In the future, we may want to be strip more metadata by default or allow
 for filtering of individual properties. For now sites can use the new
 `image_strip_meta` filter to turn the stripping functionality off there is
 other data that needs to be maintained.

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


More information about the wp-trac mailing list