CmdShots
CmdShots copied to clipboard
Take Full Page Screenshots using FireFox in the Commandline
CmdShots for FireFox
CmdShots is a FireFox add-on that takes full-page screenshots through the Command-line.
The usage is pretty simple
firefox -capture http://google.com -saveto /temp/output.jpg
And you'll have output.jpg saved to your hard-drive. FireFox will open for 2 seconds and then closes automatically.
More Options
- Time Delay You can specify a custom time delay before FireFox closes (in ms)
firefox -capture http://google.com -saveto /temp/output.jpg -delay 3500
- Page Width You can specify a custom FireFox window width. The FireFox browser will be resized to that width (no cropping or resizing of the captured image)
firefox -capture http://google.com -saveto /temp/output.jpg -width 1280
- Image Format You can chose between the jpeg and png formats
firefox -capture http://google.com -saveto /temp/output.jpg -format png
- JPEG Compression Compression for the JPEG format is possible. The range is 0-100
firefox -capture http://google.com -saveto /temp/output.jpg -quality 80
Default Values
-
*url*: Required (No default value)
-
*duration*: 2000
-
*format*: jpeg
-
*quality*: 80
-
*width*: 1920
-
*saveto*: Required (No default value)