[wp-trac] [WordPress Trac] #40415: Imagick resize filter hook

WordPress Trac noreply at wordpress.org
Wed Jun 26 15:32:09 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 robertark):

 Replying to [comment:18 pinktank]:
 > I don't know what the best implementation would be but we could add
 variables like so, amount should be dropped a bit with lanczos 8>4 maybe ,
 and threshold is better around 0.04
 >
 >
 > unsharpMaskImage( radius, sigma, amount, threshold );

 I totally agree. Is it possible to have a filter that can control all 4
 parameters? Or would it require 4 separate filters? Or does it make sense
 to control the image object in a filter and apply any Imagick functions
 there?

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


More information about the wp-trac mailing list