mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-22 06:29:13 -04:00
Use JPEG quality: 95 for screenshots
This commit is contained in:
parent
544222b021
commit
674da4aa99
1 changed files with 2 additions and 2 deletions
|
@ -616,9 +616,9 @@ class Browser:
|
|||
deviceScaleFactor=deviceScaleFactor,
|
||||
screenOrientation=screenOrientation)
|
||||
)
|
||||
capture_params = {'format': 'jpeg', 'clip': clip}
|
||||
capture_params = {'format': 'jpeg', quality: 95, 'clip': clip}
|
||||
else:
|
||||
capture_params = {'format': 'jpeg'}
|
||||
capture_params = {'format': 'jpeg', quality: 95}
|
||||
self.websock_thread.expect_result(self._command_id.peek())
|
||||
msg_id = self.send_to_chrome(method='Page.captureScreenshot',
|
||||
params=capture_params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue