-
Notifications
You must be signed in to change notification settings - Fork 642
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
[4.4.15]: Quality setting does not work for transforms of png images #13493
Comments
I’m able to reproduce this, but I don’t believe it’s a bug. PNG images don’t technically have a quality; they have a compression level. I verified that different quality values will result in different values(*) getting passed to *worth noting that PNG compression levels get normalized to an integer between 0 and 9. E.g. a quality of 82 will end up with a compression level of |
Even so, when the transform is converting the image to another file type such as |
Also FWIW, I'm not talking about subtle changes. Even going from 100 to 10 quality has no effect. |
Looks like you might be right. Looking into it… |
Fixed transform format swapping for the next release, however that’s unrelated to PNG image compression, which is still not seeming to have any effect. |
Craft 4.4.17 is out with a fix for |
What happened?
Description
Transforms of png images to any format always result in the same file size, irrespective of the quality setting.
The file size is large, so I assume the output quality is always maximum.
This happens both on local (latest DDEV) and on a server provisioned with Ploi with all the latest updates.
ImageMagick version from system report:
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Steps to reproduce
Expected behavior
The file size should be lower, due to lower quality
Actual behavior
The file size remains exactly the same, no matter how low the quality setting.
Craft CMS version
4.4.15
PHP version
8.2.8
Operating system and version
No response
Database type and version
No response
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: