We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d821e3 commit 7817becCopy full SHA for 7817bec
src/snapshot/download.js
@@ -31,6 +31,8 @@ function downloadImage(gd, opts) {
31
32
opts = opts || {};
33
opts.format = opts.format || 'png';
34
+ opts.width = opts.width || null;
35
+ opts.height = opts.height || null;
36
opts.imageDataOnly = true;
37
38
return new Promise(function(resolve, reject) {
0 commit comments