[wp-trac] [WordPress Trac] #33642: Improve default Imagick compression settings
WordPress Trac
noreply at wordpress.org
Sun Mar 6 15:43:29 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.9.patch] returns `WP_Image_Editor_Imagick::test()` to
it's pre 4.5 state and moves feature tests for new optimizations down to
where they are used so each optimization can be applied as a progressive
enhancement without changing requirements for anyone who is currently
using Imagick.
This also falls back to the original `scaleImage()` method for resizing
images if Imagick's `resizeImage()` method isn't available or if an
appropriate filter constant is not set, since the default `scaleImage()`
method produces better results in terms of image quality over
`resizeImage()` when no filter is available.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33642#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list