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 quality setting for webp images #2674

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 6, 2024

What is this pull request for?

Currently only jpeg allows a quality setting. But webp images should also be renderable in different qualities.

Notable changes

This deprecates the output_image_jpg_quality config and replaces it with output_image_quality.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 7.1 milestone Jan 6, 2024
@tvdeyen tvdeyen requested a review from a team January 6, 2024 20:43
Logs a deprecation warning if old key is still used,
but still returns the value.
Currently only jpeg allows a quality setting. But webp
images should also be renderable in different qualities.

This deprecates the `output_image_jpg_quality` config
and replaces it with `output_image_quality`.
@tvdeyen tvdeyen enabled auto-merge January 8, 2024 07:43
@tvdeyen tvdeyen merged commit ca79aa5 into AlchemyCMS:main Jan 8, 2024
31 checks passed
@tvdeyen tvdeyen deleted the webp-quality branch January 8, 2024 07:50
@tvdeyen tvdeyen mentioned this pull request Jan 22, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants