WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48736, comment 7


Ignore:
Timestamp:
11/28/2019 07:35:27 PM (6 months ago)
Author:
rmens
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48736, comment 7

    initial v1  
    77> However it seems that in some cases PHP (GD and ImageMagick) do not handle resizing/scaling of very large PNG images well. So this ticket is to (temporarily?) turn off replacing the "full" size image with a scaled down version, and use the originally uploaded image as before.
    88
    9 PNG images are quite a beast to deal with. Some of our editors use a tool called 'ImageOptim' to reduce the size of PNG images a lot. This is mostly the case with images for infographics, quizzes and patterns. I did some tests with a bunch of iOS screenshots. The scaled version ended up being larger than the original PNG when using ImageOptim.
     9PNG images are quite a beast to deal with. Some of our editors use a tool called 'ImageOptim' to reduce the size of PNG images a lot. This is mostly the case with images for infographics, quizzes and patterns. I did some tests with a bunch of iOS screenshots. The scaled version ended up being larger than the original PNG that was optimized by ImageOptim.
    1010
    11 So disabling this for PNG seems like the right move. I however don't see a path ahead to ever make this work reliably for PNG.
     11Disabling this for PNG seems like the right move. I however don't see a path ahead to ever make this work reliably for PNG.