mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
Merge pull request #208 from teethliberty/image-compression-fix-for-205
Image compression fix for 206
This commit is contained in:
commit
795e0b271e
1 changed files with 1 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ export class BrowserSession {
|
|||
let screenshotBase64 = await this.page.screenshot({
|
||||
...options,
|
||||
type: "webp",
|
||||
quality: 100, // Set maximum quality to prevent compression artifacts
|
||||
})
|
||||
let screenshot = `data:image/webp;base64,${screenshotBase64}`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue