Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #48842, comment 2


Ignore:
Timestamp:
11/30/2019 08:43:45 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48842, comment 2

    v1 v2  
    22
    33With this change:
    4 - Resizing a 1000x500 image to 300x150 doesn't resample the source. The ressampled image would be larger than the original: 1500x750, `$resize_ratio` is `2.25`.
     4- Resizing a 1000x500 image to 300x150 doesn't resample the source. The resampled image would be larger than the original: 1500x750, `$resize_ratio` is `2.25`.
    55- Resizing a 3000x1500 image to 300x150 doesn't resample the source. The resampled image would be half the size of the original, `$resize_ratio` is `0.25`.
    66- Resizing a 4800x2400 image to 300x150 resamples the source. The resampled image is less than 1/3 the size of the original, `$resize_ratio` is `0.09765625`.