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

WordPress Trac noreply at wordpress.org
Sun Dec 1 17:54:51 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:
-----------------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:7 rmens]:
 > On the front-end cluster the CPU load did not increase. This seems to be
 directly related to post-processing uploaded images. I wonder about the
 impact on large shared hosting platforms.

 IMHO it is a good idea to open another ticket with these concerns. True,
 in 5.3 there are two or three new large image sub-sizes being generated
 when the user uploads a (very) large image. This is done to prepare the
 image for "web use", and to better support large and high-density screens.
 Frankly I don't see a good workaround for now, the images need to be
 generated if we want the websites to look good.

 It may be possible to use other command-line tools (on the server) to
 post-process images that are somewhat more efficient, but image processing
 is always a very CPU and memory intense. It may eventually be possible to
 use js in the browser to "pre-process" images. That still needs better
 support and is in the planning stages.

 In any case, having a place to explore more options and "compare notes" is
 a good idea :)

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


More information about the wp-trac mailing list