I'm facing same issue as #10 and #7, i can't apply the patch in #3418721 as per patch level this is apply after the patch we're trying to avoid, is there any way to merge #3418721?
I tested #32 with the following:
* Use a clean D10 environment with drupal core 10.3 / PHP 8.4
* install enabled the webp module with the same settings as other envs and quality set to 85
* create an article and uploaded a new image with 200kb of size
* reload the node and the image by certain amount of times, as i found even since the first time the file compression starts to happen
* download that image coming from drupal and compress as webp
* notice the difference in size, each time the difference is minimal even by bytes but still happens
* import/install #32 patch and repeat above
* images were not compressed more than once
confirming #32 works.
This issue was solved on my end by just clearing caches after upgrading.
This issue was solved on my end by just clearing caches after upgrading.
bonfil1 → created an issue.