Skip to content
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

Allow individual image compression levels on Cloud Library images via the WordPress dashboard #625

Open
Nazrinn opened this issue Aug 4, 2023 · 2 comments
Labels
doc-needed This issue requires documentation updates or additions once it has been completed. new feature Request for a new feature or functionality to be added to the project.

Comments

@Nazrinn
Copy link

Nazrinn commented Aug 4, 2023

What problem does this address?

Sometimes, different images can handle different levels of compression and still look good within their context. An image that is used as a background with an overlay, for instance, can allow for heavier compression than, let's say, a product picture.

Additionally, the alternative of decreasing the image quality to the same level everywhere can result in mixed apperances; some images will look fine while others won't.

What is your proposed solution?

Be able to tweak the compression level on individual images via the cloud library, with the "default" or "current" compression level clearly indicated.

Will this feature require documentation? (Optional)

Yes, it requires documentation.

@Nazrinn Nazrinn added the new feature Request for a new feature or functionality to be added to the project. label Aug 4, 2023
@pirate-bot pirate-bot added the doc-needed This issue requires documentation updates or additions once it has been completed. label Aug 4, 2023
@selul
Copy link
Contributor

selul commented Aug 7, 2023

Thanks for the suggestion, @Nazrinn! This is certainly a great idea. At present, we're using an autoquality feature that predicts the quality to ensure the saved image will have at most a 0.001 DSSIM difference from the original.

Also, I believe implementing this feature would require a format selector for the image. This is due to the fact that a quality setting of 80 on WebP, for example, might not correspond to the same quality on JPEG or AVIF?

Or were you thinking more of an abstract quality selector, such as one with 'aggressive', 'high', 'medium', 'low' options?

@Nazrinn
Copy link
Author

Nazrinn commented Aug 7, 2023

Something more abstract would fit yes. The important is that the compressed images look about "the same" regardless of the format. I think that's the system you use when users enable manual compression as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-needed This issue requires documentation updates or additions once it has been completed. new feature Request for a new feature or functionality to be added to the project.
Projects
None yet
Development

No branches or pull requests

3 participants