Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57003, comment 2


Ignore:
Timestamp:
11/07/2022 10:23:21 PM (13 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57003, comment 2

    initial v1  
    1212Nevertheless I think introducing some functionality to re-compress images and compare file sizes would be a nice addition. If an image is not ready-for-internet, the compressed copy would be quite smaller.
    1313
    14 Perhaps can try to set a threshold of how smaller the new file must be in order to "archive" the original and use the newly created image instead. Of course it should still err on the side of quality, i.e. the image created by WP should be significantly slammer in file size, perhaps > 30%.
     14Perhaps can try to set a threshold of how smaller the new file must be in order to "archive" the original and use the newly created image instead. Of course it should still err on the side of quality, i.e. the image created by WP should be significantly smaller in file size, perhaps > 30%.
    1515
    1616Having said all that, adding one more "processing" of uploaded images would slow down the overall process. Perhaps it won't introduce more uploads failures as only smaller images will be processed, but still thinking something like this will be best to implement after WP can make image sub-sizes "on the fly". Ideally this functionality will be dependent on removing the image post-processing bottleneck.