webkit2png
webkit2png copied to clipboard
webkit2png not outputting images smaller than 800px wide
webkit2png isn't outputting images that are less than 800px wide (or on retina 1600px wide). Is there a way to render smaller width images?
Workaround for now: as long as you're not producing the clipped images, you can set the --clipwidth option to 1 (width is reset to the minimum of the default clip width multiplied by the thumbnail scale factor)
AlAir-2:im-textmaker al$ webkit2png -W 720 --clipwidth 1 --transparent -F -o test test.html
Fetching file:///Users/al/Desktop/im-textmaker/test.html ...
... done
AlAir-2:im-textmaker al$ file test-full.png
test-full.png: PNG image data, 720 x 600, 8-bit/color RGBA, non-interlaced
alastairstuart, I tried your workaround, but it does not work on my webkit2png version:
$ webkit2png -W 720 --clipwidth 1 --transparent -F -o test https://www.google.com
Fetching https://www.google.com ...
... done
$ file test-full.png
test-full.png: PNG image data, 980 x 600, 8-bit/color RGBA, non-interlaced
$ webkit2png --version
webkit2png 0.7
Works for me and I have the version 0.7 too
I see this on my laptop, which will make it easier to fix!