You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: Rename encodeBitmapToBase64Png to encodeBitmapToBase64Jpeg (#6905)
The private function `encodeBitmapToBase64Png` in
`firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/Part.kt`
was already compressing Bitmap images to JPEG format, not PNG.
This commit renames the function to `encodeBitmapToBase64Jpeg` to
accurately reflect its behavior. The single call site within the same
file has also been updated.
no-changelog
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
0 commit comments