Skip to content

[Vertex AI] Add Imagen warning for invalid JPEG compression quality #14440

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

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

andrewheard
Copy link
Contributor

Added a warning log message if a value outside the range [0, 100] is specified for the JPEG compression quality in ImagenImageFormat.jpeg(compressionQuality:). Values outside this range seem to be treated as 0 or 100 by the backend and were likely set by accident. See b/395693541 (Google internal) for more details.

#14221
#no-changelog

@andrewheard andrewheard marked this pull request as ready for review February 10, 2025 22:26
@andrewheard andrewheard merged commit 22dce81 into main Feb 10, 2025
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-imagen-jpeg-qual branch February 10, 2025 22:46
@firebase firebase locked and limited conversation to collaborators Mar 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants