Allows the specification of window width and height. sets default 1366x768. The width and height are restricted with logic to prevent unreasonable report generations.
The report output (HTML generation) has been modified slightly with CSS to prevent an image size shorter than 400 px from improperly scaling the image width beyond reason. Any image with height less than 400 will retain its original height and scale the width accordingly. The logic should prevent specifying an image height of less than 400, but since the argument specifies the window size, not image size, a 400 specification will produce an actual image less than 400 tall.
Apologies on the silly commit message, I squashed and didn't realize it retained the last message
Allows the specification of window width and height. sets default 1366x768. The width and height are restricted with logic to prevent unreasonable report generations.
The report output (HTML generation) has been modified slightly with CSS to prevent an image size shorter than 400 px from improperly scaling the image width beyond reason. Any image with height less than 400 will retain its original height and scale the width accordingly. The logic should prevent specifying an image height of less than 400, but since the argument specifies the window size, not image size, a 400 specification will produce an actual image less than 400 tall.
Apologies on the silly commit message, I squashed and didn't realize it retained the last message
closes #584
Example:
Default specification (1366,768)
width = 600 height = 1000 (odd size)
width = 1920 height = 1080 (typical desktop)
width = 1920 height = 4096 (a "long" screenshot)