[wp-trac] [WordPress Trac] #24380: Missing Compression Parameter in WP_Image_Editor_GD

WordPress Trac noreply at wordpress.org
Mon Dec 2 23:46:27 UTC 2013


#24380: Missing Compression Parameter in WP_Image_Editor_GD
-----------------------------------+--------------------
 Reporter:  MuViMoTV               |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  3.8
Component:  Media                  |     Version:  3.5.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+--------------------

Comment (by markoheijnen):

 I would say yes. Math is a bit weird but thats the logic of GD. So my
 comment is to short I guess ;)

 If quality is 100 - no compression
 {{{- ( ( 0.09 * 100 ) - 9 ) = 0}}}

 If quality is 0 - with full compression
 {{{- ( ( 0.09 * 0 ) - 9 ) = 9}}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24380#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list