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

WordPress Trac noreply at wordpress.org
Sat May 31 09:28:00 UTC 2014


#24380: Missing Compression Parameter in WP_Image_Editor_GD
-------------------------+-----------------------------
 Reporter:  MuViMoTV     |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.0
Component:  Media        |     Version:  3.5.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by mikemanger):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Anyone care to explain why we are converting from high to low? The
 original statement that it goes "0->9 from good to bad" is wrong. PNG
 compression is lossless so there is no such thing as "bad" compression
 with regards to image quality, just a trade off between file size and
 compression speed. Best explanation I can find is in the
 [http://www.php.net/manual/en/function.imagepng.php#106093 discussion on
 the PHP documentation page].

 I can run some tests to demonstrate this.

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


More information about the wp-trac mailing list