paulhammond / webkit2png

png screenshots of webpages
http://www.paulhammond.org/webkit2png/
1.44k stars 196 forks source link

remove file suffix if there is only one file output #83

Closed wong2 closed 6 years ago

wong2 commented 9 years ago

In most situations, we only need the full image, currently, even if given the option -F -o filename, I still get filename-full.png, which is really inconvenient.

This PR remove the -full, -thumb, -clipped file suffix if there is only one file generated.