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

WordPress Trac noreply at wordpress.org
Wed Nov 20 21:11:46 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 needs-patch  |     Focuses:
-------------------------------------+---------------------

Comment (by rmens):

 The handling of PNG images needs more checking. The width en height
 doesn't say it all. Overlays, sprites and patterns saved as PNG and used
 in for example site builders should not be touched, while photos uploaded
 as PNG could be touched.

 In general this feature leaves a bad taste in my mouth. We run a large
 shared hosting platform for publishers with 60+ editors working daily with
 press and stock photo's and saw our average CPU load increase by 9
 percent. Bandwidth is cheap, CPU and inodes are not. Images are mostly
 already served in a way that doesn't hurt the reader, for example with
 responsive image. With that already baked in WordPress original images
 never get served.

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


More information about the wp-trac mailing list