Commit d568e84
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>1 parent e9ef479 commit d568e84
File tree
1 file changed
+2
-2
lines changed- firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments