mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
webkit: png with 50% quality
This commit is contained in:
parent
51c1e78590
commit
7e74bcab84
@ -212,7 +212,7 @@ function urlopen(req, callback) {
|
||||
case 'png':
|
||||
case 'gif':
|
||||
var name = req.requestId + '.' + req.requestType;
|
||||
page.render('/data/' + name, {format: req.requestType});
|
||||
page.render('/data/' + name, {format: req.requestType, quality: 50});
|
||||
result.pageCapture = name;
|
||||
pdata = page.content;
|
||||
break
|
||||
|
0
webkit/server.js
Normal file → Executable file
0
webkit/server.js
Normal file → Executable file
Loading…
Reference in New Issue
Block a user