[wp-trac] [WordPress Trac] #28154: Add get_quality() method for WP_Image_Editor class

WordPress Trac noreply at wordpress.org
Sun May 25 16:30:28 UTC 2014


#28154: Add get_quality() method for WP_Image_Editor class
-------------------------------------------------+-------------------------
 Reporter:  alexvorn2                            |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Media                                |  Review
 Severity:  normal                               |     Version:  3.5
 Keywords:  reporter-feedback dev-feedback 2nd-  |  Resolution:
  opinion                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by alexvorn2):

 Before to resize an image it is important to get the quality of the source
 image file,

 and after that to resize to the same quality.

 For example if we have one 40KB image with low quality, why to resize the
 image to a smaller one with better quality? when we can resize the image
 to the same quality and the result will be a smaller image with less size.
 But if we will resize (300x300) 40KB low quality to high quality
 (250x250), I image the result will have more than 40KB, maybe 400KB.

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


More information about the wp-trac mailing list