[wp-trac] [WordPress Trac] #56344: Filters for Sharpening Images
WordPress Trac
noreply at wordpress.org
Mon Nov 21 16:27:38 UTC 2022
#56344: Filters for Sharpening Images
-----------------------------+---------------------
Reporter: unsalkorkmaz | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 6.2
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+---------------------
Comment (by nosilver4u):
FYI, this was already requested in #55036
and as @galbaras mentioned, we implemented it in the EWWW Image Optimizer
plugin along with the adaptiveSharpenImage() method in EWWW Image
Optimizer, so feel free to yank code from there:
https://github.com/nosilver4u/ewww-image-
optimizer/blob/6ee2b5527ee537209275eafd8e7d96f5bbd041b7/classes/class-
ewwwio-imagick-editor.php#L361
As far as GD, I don't know that such a thing is possible, and we always
tell our users to enable Imagick if possible, which I believe aligns with
the advice on the WP Site Health screen for folks using GD.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56344#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list