3 ms·
This is cool. Tried it. Curious question. Won't it be better to default to width and not height as a fixed dimension (in the example) (your code already does th
by Brajeshwar 5y ago
This is cool. Tried it. Curious question. Won't it be better to default to width and not height as a fixed dimension (in the example) (your code already does the job)? Websites' height are variable while width is usually fixed.
- simonw 5y agoIf you delete the height: 800 line from the YAML you'll get the full length of the page. I decided to set a height of 800 by default to avoid people accidentally saving 10MB+ images just because they were trying out the tool.