mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Merge pull request #208 from teethliberty/image-compression-fix-for-205
Image compression fix for 206
This commit is contained in:
@@ -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}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user