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

WordPress Trac noreply at wordpress.org
Wed Jul 2 10:21:02 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

Comment (by mikemanger):

 Replying to [comment:35 DrewAPicture]:
 > It still feels like there might be a more straightforward way to
 accomplish this.

 As Eric points out in comment:29, another alternative would be to have a
 new property for this in the WP_Image_Editor class. This would simplify
 the GD implementation however we would then need some more logic to
 convert to a 0-100 scale in the Imagick class.

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

More information about the wp-trac mailing list