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

WordPress Trac noreply at wordpress.org
Tue Jul 1 21:09:44 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 dev-feedback  |     Focuses:  docs
------------------------------------+-----------------------------
Changes (by DrewAPicture):

 * keywords:  needs-patch => has-patch dev-feedback


Comment:

 [attachment:24380.4.diff] tweaks the docs a bit to make it more clear that
 we're converting the quality scale for GD compatibility.

 It still feels like there might be a more straightforward way to
 accomplish this. Also, I'm confused as to why the png check falls outside
 the `! $this->quality` check in the `get_quality()` method.

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


More information about the wp-trac mailing list