Skip to content

Commit

Permalink
Reduced the window height.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBone committed Jul 20, 2018
1 parent d100da3 commit 2f0f8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -97,7 +97,7 @@ async function main() {
// The image is examined in overlapping windows to reduce the memory usage (there
// is currently a hard limit of 512 MB).

const WindowHeight = 100;
const WindowHeight = 75;
console.log(`Image width is ${image.width} and image height is ${image.height}.`);
for (let windowY = 0; windowY < image.height; windowY += WindowHeight) {
// Convert the image data into a format that can be used by jimp.
Expand Down

0 comments on commit 2f0f8a2

Please sign in to comment.