[wp-trac] [WordPress Trac] #48736: Exclude PNG images from scaling after upload

WordPress Trac noreply at wordpress.org
Tue Nov 26 20:00:08 UTC 2019


#48736: Exclude PNG images from scaling after upload
-----------------------------------+---------------------
 Reporter:  azaozz                 |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.3.1
Component:  Upload                 |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+---------------------
Changes (by azaozz):

 * keywords:  2nd-opinion needs-patch => 2nd-opinion has-patch


Comment:

 In 48736.diff: Exclude PNGs when scaling big images after upload. May
 create sub-sizes with smaller dimensions but greater file size.

 Thinking this is "safe" for 5.3.1. Ideally both GD and ImageMagick would
 optimize PNGs. Also would be good to test the file size when creating
 large sub-sizes.

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


More information about the wp-trac mailing list