-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global quality setting doesn't have effect #49
Comments
I found the root of the problem by myself: The Also, the format argument is actually not needed, as options.convertToFormat will always hold the intended value at this point. For everyone waiting for a quick fix, you could just use an utility like https://github.com/ds300/patch-package to easily patch the package until the problem is also fixed in this repo. A few other points to consider:
In any case thanks a lot for the great plugin idea! It saved me from implementing an awful workflow for reponsive images. |
The global quality setting appears to be broken.
E. g. when I change the value between two test uploads of the same file from 80 to 20, I expect the output file sizes to change, but they don't.
Everything else works fine, all configured formats are generated, just the configured quality value is not taken into account.
My strapi version is v4.20.0.
It's running on Node v20.11.0.
I set up the TypeScript version with strapi-server.ts (the JavaScript version didn't work at all; maybe this is also related to this issue).
The text was updated successfully, but these errors were encountered: