[wp-trac] [WordPress Trac] #40415: Imagick resize filter hook
WordPress Trac
noreply at wordpress.org
Tue Jun 25 21:17:30 UTC 2019
#40415: Imagick resize filter hook
-------------------------------------------------+-------------------------
Reporter: virgodesign | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Media | Version: 4.7.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing reporter- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by pinktank):
Replying to [comment:15 robertark]:
> I have submitted a diff to this issue (class-wp-image-editor-
imagick.php.patch) which adds just the apply_filters call before
processing the image resize function. This should allow for backwards
compatibility as it does not change the existing filters or any of the
other Imagick options.
If you are going to add a filter for the resize function, we should add
one for the sharpening that happens below as well since it does better
with different sharpening parameters once you use a better resizing
algorithm.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40415#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list