diff --git a/lib/converter.js b/lib/converter.js old mode 100644 new mode 100755 index 913a03f..93bd838 --- a/lib/converter.js +++ b/lib/converter.js @@ -45,6 +45,12 @@ function convert(resize) { width: dimensions.width, height: dimensions.height }; + page.clipRect = { + top: 0, + left: 0, + width: dimensions.width, + height: dimensions.height + }; } catch (e) { console.error("Unable to calculate or set dimensions."); console.error(e);