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

WordPress Trac noreply at wordpress.org
Wed Dec 4 23:21:50 UTC 2013


#24380: Missing Compression Parameter in WP_Image_Editor_GD
------------------------------+-----------------------------
 Reporter:  MuViMoTV          |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Media             |     Version:  3.5.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------------
Changes (by nacin):

 * milestone:  3.8 => Future Release


Comment:

 Per IRC, moving to 3.9 for this enhancement.

 I think this could still benefit from a few lines of documentation that
 explains what it is doing to $this->quality. Seems like it is converting
 0-100 (or 1-100?) to 9-1 (or 9-0, or 1-9, or 0-9)? These are magic numbers
 and it would be nice to know why it needs to do this math.

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


More information about the wp-trac mailing list