[wp-trac] [WordPress Trac] #29795: Set JPEG quality for individual image_size

WordPress Trac noreply at wordpress.org
Thu Dec 3 16:02:50 UTC 2015


#29795: Set JPEG quality for individual image_size
--------------------------+------------------------------
 Reporter:  Drivingralle  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by markoheijnen):

 I'm still wondering if this should be in core or not. I do believe it's a
 benefit to lower the quality for a smaller image. I would still go for
 using the filter instead of another argument. So maybe we don't need to
 implement this directly in core but at least give the option to make this
 easier. I still think extending an image editor is always needed which is
 a shame.

 Codewise, Checkout the updates I did on https://github.com/markoheijnen
 /Improved-image-editor. Basically it's adding a function like
 register_image_size_info(). So instead of adding another argument to
 add_image_size, there is a more general way to describe an image size.
 Having an $arg parameter to add_image_size() could still work though.

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


More information about the wp-trac mailing list